Error Codes
WSANOTINITIALISED A successful WSAStartup must occur before using this function.
//好象是socket2 的dll调用没有正确初始化!
WSAENETDOWN The network subsystem has failed.
//网络子系统错误!
(不太明白了!socket2 的dll调用没有正确初始化,不就是本地网络配置的问题吗?)
WSAHOST_NOT_FOUND Authoritative Answer Host not found.
//权威的DNS主机没有找到!
WSATRY_AGAIN Non-Authoritative Host not found, or server failure.
//非权威的DNS主机没有找到!或者服务失败!(和上者有何区别和联系?)
WSANO_RECOVERY Nonrecoverable error occurred.
//不可恢复的错误!(什么错误???)
WSANO_DATA Valid name, no data record of requested type.
//有效的名字,但没有请求的数据记录的类型
WSAEINPROGRESS A blocking Windows Sockets 1.1 call is in progress, or the service provider is still processing a callback function.
//什么回调函数,什么块....不太懂.....
WSAEFAULT The name argument is not a valid part of the user address space.
//不懂!!
WSAEINTR The (blocking) call was canceled through WSACancelBlockingCall.
//不懂!!