非阻塞Connect的各种返回值

这里是对各种情况解释比较好的链接

ENETUNREACH,ECONNREFUSED ENETUNREACH,ECONNREFUSED
ENOTSOCK ENOTSOCK
EINTR EINTR
EADDRINUSE EADDRINUSE
EADDRNOTAVAIL EADDRNOTAVAIL
EACCES EACCES
EPERM EPERM
EAFNOSUPPORT EAFNOSUPPORT
EBADF,EALREADY EBADF,EALREADY GNU手册
EFAULT EFAULT

posted @ 2022-07-02 13:17  李兆龙的博客  阅读(18)  评论(0编辑  收藏  举报