WS2_32.DLL

WSAStartup(WORD wVersionRequested,LPWSADATA lpWSAData);
initiates use of WS2_32.DLL by a process.
初始化WS2_32.DLL

WSAGetLastError(void);
returns the error status for the last operation that failed.
返回最后操作的错误状态.

SOCKET(int af,int type,int protocol);
creates a socket that is bound to a specific service provider.
创建socket

shutdown(SOCKET s,int how);
disables sends or receives on a socket.
停止一个socket的发送和接收活动.
阅读更多
想对作者说点什么?

博主推荐

换一批

没有更多推荐了,返回首页