摘要:
http://wenku.baidu.com/view/0803b63610661ed9ad51f32b.html一、编写Linux下socket协议TCP的ClientServer程序 客户端,client: #include#include#include#include#include#include#define MAXBUF 256int main(){ int ssock; int clen; struct sockaddr_in server_addr; char buf[MAXBUF]; if((ssock=socket(PF_INET,SOCK_STREA... 阅读全文