[PHP] UDP socket_read() problem

2002-09-21 Thread Martin
Hello, I created an UDP socket using $sock=socket_create(AF_INET,SOCK_DGRAM,SOL_UDP) successfully and then used socket_bind($sock,$address,$port), up to there, no problems, but when I try to $buff=socket_read($sock,3) it just stays there doing nothing forever. What could be the problem?

Re: [PHP] UDP socket_read() problem

2002-09-21 Thread Martin
Try using SO_TCP. The problem is that I'm making a server application, and all the clients were made by someone else and are much more difficult to modify, and are already using UDP. There are issues using TO_UDP with internet/LANs. many ppl mention them from time to time, however, it