PHP有强大的Socket操作能力,它的处理方式更接近于C
php//设置一些基本的变量$host=”192.168.1.99″。//主机地址$port=1234;//端口//设置超时时间set_time_limitordie;//绑定Socket到端口$result=socket_bindordie;//开始监听链接$result=so
php//设置一些基本的变量$host=”192.168.1.99″。//主机地址$port=1234;//端口//设置超时时间set_time_limitordie;//绑定Socket到端口$result=socket_bindordie;//开始监听链接$result=so