WinSocket常用函数及结构 常用结构定义及函数 WSADATA sockaddr_in fd_set timeval WSAStartup WSACleanup htons htonl ntohs ntohl inet_addr inet_ntoa socket closesocket bind listen connect