首页
Python
Java
IOS
Andorid
NodeJS
JavaScript
HTML5
【
WinSocket01
】的更多相关文章
WinSocket01
启动windows平台下的Socket 1 #define WIN32_LEAN_AND_MEAN 2 #include<windows.h> 3 #include<WinSock2.h> 4 5 //#pragma comment(lib,"ws2_32.lib") 6 7 int main() { 8 WORD ver = MAKEWORD(2, 2); 9 WSADATA data; 10 WSAStartup(ver,&data); 11 //输…