摘要:
从底层的Windows Socket API谈起.
参考教材是《Windows网络编程》 阅读全文
摘要:
#include #include #include WSADATA wsaData; bool InitSocket(){ WORD wVersionRequested; int err; wVersionRequested = MAKEWORD( 2, 0 ); //询问Winsock 2.0版本 err = WSAStartup( wVersionRequested, &w... 阅读全文