摘要:
WSADATA wsd;SOCKET cClient;int ret;struct sockaddr_in server;hostent *host=NULL;if(WSAStartup(MAKEWORD(2,0),&wsd)){return 0;}cClient=socket(AF_INET,SOCK_STREAM,IPPROTO_TCP);if(cClient==INVALID_SOCKET)... 阅读全文
posted @ 2005-11-28 20:41 Paker Liu 阅读(9461) 评论(1) 推荐(1) 编辑