Home > other > Connect socket communication failure, getsockopt mistake? 0
Connect socket communication failure, getsockopt mistake? 0
Time:10-09
a TCP connection, the socket connect failure, mistakes are No route to host, Then using getsockopt (sockfd, SO_SOCKET, SO_ERROR, & amp; Err, & amp; Why errsize) remove the error code is 0?
CodePudding user response:
Beg you great god answers, grant instruction
CodePudding user response:
Could you please post your code, and then further analysis reasons.