Socket的连接问题(很急!!!!!!!!!) ( 积分: 100 )

  • 主题发起人 主题发起人 jsh88281850
  • 开始时间 开始时间
J

jsh88281850

Unregistered / Unconfirmed
GUEST, unregistred user!
我的程序做的是服务器端,可是别的客户端(经过路由器连接)在网络不稳定或网络不通的情况下服务器端出现这样的错误“Asynchronous socket error 10053”,这是什么错误,各位大侠请教了,谢谢!
 
我的程序做的是服务器端,可是别的客户端(经过路由器连接)在网络不稳定或网络不通的情况下服务器端出现这样的错误“Asynchronous socket error 10053”,这是什么错误,各位大侠请教了,谢谢!
 
首先,解释 10053 Socket Error 描述 : 'Software caused connection abort';
其次是:“Asynchronous socket error 10053”,
意思是: 非同步 的 socket 连接 中断。
 
网络连接中断,你可以在客户端try一下,在你设定的时间内连接不上,做个提示;
 
TCP连接同步错误,就是没跟你要连接的IP地址的某端口连接握手不成功,
极有可能是你的路由有问题。
 
谢谢各位!
 
呵,是否已解決了啊
如果沒有,你看看是否有兩個socketserver的端口是一樣的,
 
case 10004: error = "Interrupted system call 中断的系统呼叫"; break;
case 10009: error = "Bad file number"; break;
case 10013: error = "Permission denied 进入被拒绝"; break;
case 10014: error = "Bad address"; break;
case 10022: error = "Invalid argument (not bind)"; break;
case 10024: error = "Too many open files"; break;
case 10035: error = "Operation would block"; break;
case 10036: error = "Operation now in progress"; break;
case 10037: error = "Operation already in progress"; break;
case 10038: error = "Socket operation on non-socket"; break;
case 10039: error = "Destination address required"; break;
case 10040: error = "Message too long"; break;
case 10041: error = "Protocol wrong type for socket"; break;
case 10042: error = "Bad protocol option"; break;
case 10043: error = "Protocol not supported "不支持的protocol"; break;
case 10044: error = "Socket type not supported"; break;
case 10045: error = "Operation not supported on socket"; break;
case 10046: error = "Protocol family not supported"; break;
case 10047: error = "Address family not supported by protocol family"; break;
case 10048: error = "Address already in use socket使用中"; break;
case 10049: error = "Can't assign requested address"; break;
case 10050: error = "Network is down"; break;
case 10051: error = "Network is unreachable"; break;
case 10052: error = "Net dropped connection or reset"; break;
case 10053: error = "Software caused connection abort"; break;
case 10054: error = "Connection reset by peer 连接被防火樯或proxy中断"; break;
case 10055: error = "No buffer space available Tracker的buffer已满"; break;
case 10056: error = "Socket is already connected"; break;
case 10057: error = "Socket is not connected"; break;
case 10058: error = "Can't send after socket shutdown"; break;
case 10059: error = "Too many references, can't splice"; break;
case 10060: error = "Connection timed out 与Tracker联机超时"; break;
case 10061: error = "Connection refused Tracker否决连接"; break;
case 10062: error = "Too many levels of symbolic links"; break;
case 10063: error = "File name too long 文件名过长或含无效的字完"; break;
case 10064: error = "Host is down"; break;
case 10065: error = "No Route to Host"; break;
case 10066: error = "Directory not empty"; break;
case 10067: error = "Too many processes"; break;
case 10068: error = "Too many users 太多使用者"; break;
case 10069: error = "Disc Quota Exceeded"; break;
case 10070: error = "Stale NFS file handle"; break;
case 10091: error = "Network SubSystem is unavailable"; break;
case 10092: error = "WINSOCK DLL Version out of range window的winsock.dll问题"; break;
case 10093: error = "Successful WSASTARTUP not yet performed"; break;
case 10071: error = "Too many levels of remote in path"; break;
case 11001: error = "Host not found"; break;
case 11002: error = "Non-Authoritative Host not found"; break;
case 11003: error = "Non-Recoverable errors: formERR, REFUSED, NOTIMP"; break;
case 11004: error = "Valid name, no data record of requested type"; break;
 
后退
顶部