Home > OS >  Linux getsockopt return EINVAL error code
Linux getsockopt return EINVAL error code

Time:09-16

Multithreaded start multiple client with the same server to connect (currently only start a child threads to create a socket), when the number of connections to around 1400, getsockopt began to get failure, error code is EINVAL, repeated after a period of error (not sure whether the same question)
Getsockopt ((int) m_nSocket, SOL_SOCKET, SO_ERROR, (char *) & amp; NError, & amp; NErrorLen);
Inquired whether the Socket error, what could be wrong
  • Related