Search found 2 matches

by giloosh
Mon Dec 01, 2008 6:44 pm
Forum: PHP - Code
Topic: connect to local php socket server
Replies: 1
Views: 1457

Re: connect to local php socket server

I might have answered my own question. I think I receive that error because the client socket connection closes before the server can process the request. I think this may have fixed the problem:   <? $s=fsockopen("192.168.1.101", 1234); while (true){       fwrite($s,"Hello World"...
by giloosh
Mon Dec 01, 2008 6:35 pm
Forum: PHP - Code
Topic: connect to local php socket server
Replies: 1
Views: 1457

connect to local php socket server

I am running a php socket server on my local machine. I have this php socket server code I found on kirupa.com:   <?php /*     Raymond Fain     Used for PHP5 Sockets with Flash 8 Tutorial for Kirupa.com     For any questions or concerns, email me at ray@obi-graphics.com     or simply visit the site,...