GetLastError()的返回值问题
用GetLastError() 返回10054是什么错误?
我用 Error Lookup 是怎么查都查不到!
谢谢~
问题点数:50、回复次数:5Top
1 楼edyang(化石)回复于 2000-11-21 11:44:00 得分 20
不会呀?我的 Error Lookup 显示:
An existing connection was forcibly closed by the remote host. Top
2 楼sundy()回复于 2000-11-21 11:50:00 得分 0
谢谢, 看来我要重装VC了~
:-(Top
3 楼Ray_czh(打字狂人)回复于 2000-11-21 12:13:00 得分 10
在MSDN里面有
WSAECONNRESET
(10054)
Connection reset by peer.
A existing connection was forcibly closed by the remote host. This normally results if the peer application on the remote host is suddenly stopped, the host is rebooted, or the remote host used a "hard close" (see setsockopt for more information on the SO_LINGER option on the remote socket.) This error may also result if a connection was broken due to "keep-alive" activity detecting a failure while one or more operations are in progress. Operations that were in progress fail with WSAENETRESET. Subsequent operations fail with WSAECONNRESET.
Top
4 楼kevincheng(憨鱼头)回复于 2000-11-21 12:46:00 得分 10
(10054)
存在的连接被远程主机强制关闭。通常原因是远程主机上对等方应用程序突然停止运行,或远程主机重新启动,或远程主机在远程主套接字上使用上”强制”关闭。Top
5 楼vcmfc(【痛苦的虫虫】)回复于 2000-11-21 19:05:00 得分 10
可用::FormatMessage()取得错误消息呀!Top
相关问题
- RasDial函数的返回值和GetLastError函数的返回值。
- copyfile()时,GetLastError()de 返回值是32?这是什么错误
- CAsyncSocket::GetLastError()的返回值,都代表什么?
- GetLastError()返回12018,这是什么错误
- GetLastError()返回12163;12163是什么错误?
- 那位知道GETLASTERROR的返回值为10093是什么意思?我是在CSOCKER.CREATE时出错的。
- 在socket 中,send()后getlasterror()返回的值为10038,谁能告诉是什么错误吗?
- 条件?返回值1:返回值2????
- showModalDialog的返回值
- 函数返回值???




