php中socket连接方式:
TCP:$sock = fsockopen("192.168.0.1",80);
UCP:$sock = fsockopen("udp://192.168.0.1",53);