在IOCP中,函数GetQueuedCompletionStatus返回几个常用的错误代码,通过GetLastError()获得:
1.错误代码:121
121 (0x79):The semaphore timeout period has expired.(信号灯超时时间已到)
ERROR_INSUFFICIENT_BUFFER
2.错误代码:64
64 (0x40):The specified network name is no longer available.(指定的网络名不再可用)
ERROR_NETWORK_ACCESS_DENIED
3.错误代码:1236
1236 (0x4D4):The network connection was aborted by the local system.(由本地系统终止网络连接)
ERROR_RETRY
-----------------------------------------------------------