socket编程:select 用法 例子
摘要:
服务器:#include #include #include #pragma comment(lib,"ws2_32.lib") #define INT_SERVER_PORT 6002 #define STR_SERVER_IP "127.0.0.1" #define INT_DATABUFFER_SIZE 100 void main(void) { WORD dwVersion = MAKEWORD(2,2); WSAData wsaData; WSAStartup(WINSOCK_VERSION,&wsaDat... 阅读全文
posted @ 2012-06-16 21:25 hgy413 阅读(258) 评论(0) 推荐(0) 编辑