Winsock error 10038

WSAENOTSOCK  -  Socket operation on nonsocket.

Basic (Microsoft) information for 10038 a.k.a. WSAENOTSOCK

An operation was attempted on something that is not a socket. Either the socket handle parameter did not reference a valid socket, or for select, a member of an fd_set was not valid.

Detailed (Berkeley) information for winsock 10038, described as "Socket operation on nonsocket."

Berkeley description: An operation was attempted on something that is not a socket. The specified socket parameter refers to a file, not a socket.

WinSock description: Same as Berkeley. The socket input parameter is not a valid socket handle (either it never was valid, it's a file handle (not a socket handle), or if it was a socket handle, it has been closed).

Detailed description:

select(): fails with WSAENOTSOCK if any socket in an fd_set is an invalid socket handle.

[Home] [Full list of Winsock Error codes]
[Peer Monitor - network monitoring tool] [DanielClarke.com] [Hungarian language course]