Introduction to Socket Programming with PHP
Subject:   Function names changed
Date:   2002-12-04 16:56:30
From:   anonymous2
Nice article.. for anyone trying out this example script.. the function names have changed. All function are now prepended by socket_.. (socket_create, socket_bind, socket_listen, socket_accept, socket_write, socket_read and socket_close). Also socket read only accepts 2 arguments now.. so change $ret = read($msgsock, $buf, 128) into $buf = read($msgsock, 128).