TCPUDPDemo TCP及UDP简单示例代码 ##编译 gcc -o tcpserver tcpserver.c gcc -o tcpclient tcpclient.c gcc -o udpclient udpclient.c gcc -o udpserver udpserver.c