防火墙已经关闭,知道是远程关闭连接,然后不知道要怎么做了,不是很懂,求大神帮忙!

解决方案 »

  1.   

    10054 sckConnectionReset 
    关闭后重新 connect
      

  2.   

    recvfrom MSDN上有这样的说明  WSAECONNRESET
     The virtual circuit was reset by the remote side executing a hard or abortive close. The application should close the socket; it is no longer usable. On a UDP-datagram socket this error indicates a previous send operation resulted in an ICMP Port Unreachable message.
     
      

  3.   

    WSAECONNRESET
    虚拟电路由远端执行硬关闭或失败关闭来重置。应用程序应该关闭套接字;它不再可用。在UDP数据报套接字上,此错误表示先前的发送操作导致ICMP端口不可达消息。
    搜狗翻译的,
    找一晚上错,发现在发生10054错误后程序会继续,执行之前的连接操作,开始时重复的pid(进程)是一个,在重复会出现重新创建一个pid,导致后台一直在创建新的进程