2013年8月11日

Getting Started with Winsock

摘要: Complete Server CodeThe following is the complete source code for the TCP/IP Server application.Server Source Code 1 #include 2 #include "winsock2.h" 3 4 void main() { 5 6 // Initialize Winsock. 7 WSADATA wsaData; 8 int iResult = WSAStartup( MAKEWORD(2,2), &wsaData ); 9 if ( iResu... 阅读全文

posted @ 2013-08-11 00:03 FAQ 阅读(123) 评论(0) 推荐(0)

导航