connect 10061 WSAECONNREFUSED

客户端connect的时候如果报10061

// MessageId: WSAECONNREFUSED
//
// MessageText:
//
// No connection could be made because the target machine actively refused it.
//
#define WSAECONNREFUSED                  10061L

导致的原因有一种就是服务端的accept出现了问题,没有人接收客户端请求

posted @ 2019-07-19 15:06  秋来叶黄  阅读(1369)  评论(0编辑  收藏  举报