General discussion


error 10038 how to repair

By joyolae ·
trying to resolve a home network connectivity concern. When trying to release and renew the ip address i get the error 10038 message. tried 3 different network cards, no help. machine is windows 2000 pro

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

by pierrejamme In reply to error 10038 how to repair

WSAENOTSOCK (1003 Socket operation on non-socket.

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.

Developer suggestions: Did you close a socket inadvertently in one part of an application without keeping another part notified? Use socket state in an application and/or handle this error gracefully as a non-fatal error.

WinSock functions: Any function that takes a socket as an input parameter: accept(), bind(), closesocket(), connect(), getpeername(), getsockname(), getsockopt(), ioctl socket(), listen(), recv(), recvfrom(), select(), send(), sendto(), setsockopt(), shutdown(), FD_CONNECT

Additional functions: WSAAsyncSelect() should be in the list of functions (some applications might not register for or handle the FD_CONNECT message).

Microsoft at:

recommends clean removal of TCPIP and DHCP and then re-adding to correct this situation.
good Luck,

Related Discussions

Related Forums