Re: Socket problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, January 30, 2007 2:31 pm, Scripter47 wrote:
> I'm making a simple socket server that just receive some data, and
> then
> send some data back again to the client.
>
> it is a program that send data by sockets, (not port 80)
>
> It has to a simple solution :)
>
> plz ask for more infomation.

http://php.net/sockets

Most people who go this route usually end up having trouble with the
2-way communication on a single socket.

You may want to open up 2 sockets, one for input, one for output, and
save yourself the headaches.

YMMV

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux