随笔分类 -  winsock pogramming

摘要:TCP States code: #include<winsock2.h> #include<stdio.h> #pragma   comment(lib,   "ws2_32.lib") int main(int argc,char**argv) {     WSADATA wsa... 阅读全文
posted @ 2009-08-09 20:21 fleetwgx 阅读(264) 评论(1) 推荐(0)
摘要:what is the LANs ?local area networks  while what is the WANs? wide area networks In Winsock,applications specify IP addresses and service port information through the SOCKADDR_IN structure,whic... 阅读全文
posted @ 2009-08-07 21:39 fleetwgx 阅读(742) 评论(0) 推荐(0)
摘要:WSA prefix WSAStarup() WSACleanup() WSARecvEx() WSAGetLastError() How to Add  Winsock link library WS2_32.lib to the Visual C++ project? enter :Visual .NET doc 1 and Visual .NET doc 2 article... 阅读全文
posted @ 2009-08-04 22:10 fleetwgx 阅读(455) 评论(0) 推荐(0)