摘要:
Tcp Server:View Code #include <stdio.h>#include <Winsock2.h>#pragma comment(lib,"ws2_32.lib")void main(){WORD wVersionRequested;WSADATA wsaData;int err;wVersionRequested = MAKEWORD(2,2);err = WSAStartup(wVersionRequested,&wsaData);if (err!=0){return;}if ((LOBYTE(wsaData.wVe 阅读全文