[PHP] Socket client application

2004-04-13 Thread René Fournier
Hi,

I've gone through several good PHP sockets tutorials, but all of them 
seem to focused on making socket servers. What I actually need to do is 
write a socket client. There's an app runnning on a distant server that 
accepts incoming TCP connections at such-and-such an IP address and 
port, and then responds to various commands and issues standard 
responses, etc.---I need to build the app that talks to it.

Now maybe I'm missing something really obvious, but I can't find any 
tutorials on what such a socket client app might look like. The client 
I need to build must maintain the connection once started.

Any ideas??

...Rene

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Socket client application

2004-04-13 Thread Robert Cummings
On Tue, 2004-04-13 at 17:17, René Fournier wrote:
 Hi,
 
 I've gone through several good PHP sockets tutorials, but all of them 
 seem to focused on making socket servers. What I actually need to do is 
 write a socket client. There's an app runnning on a distant server that 
 accepts incoming TCP connections at such-and-such an IP address and 
 port, and then responds to various commands and issues standard 
 responses, etc.---I need to build the app that talks to it.
 
 Now maybe I'm missing something really obvious, but I can't find any 
 tutorials on what such a socket client app might look like. The client 
 I need to build must maintain the connection once started.
 
 Any ideas??
 
 ...Rene

Google: php socket client

This one in particular starts off with a server discussion then goes on
with some client examples:

http://www.devshed.com/c/a/PHP/Socket-Programming-With-PHP/

Cheers,
Rob.
-- 
..
| InterJinn Application Framework - http://www.interjinn.com |
::
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for   |
| creating re-usable components quickly and easily.  |
`'

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php