• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 483
  • Last Modified:

What does NETGETPACKET: WSAE_NOTSOCK mean?

We have a TCP/IP LAN and very often programs running on the LAN have connection trouble, but did not give an error message. Then we played a game (quake2) on the LAN and now I got an error message: NET_GETPACKET: WSAENOTSOCK. Since I have Winsock 2 installed I run SOCKEYE and opened a socket (startup), and then wanted to close it (closesock).
I got the same error: WSAENOTSOCK (10038).

What does this mean and how can i fix it?
0
valheru
Asked:
valheru
1 Solution
 
jhanceCommented:
Here is what the documentation says about WSAENOTSOCK
(10038)

Socket operation on non-socket.

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.
-------------------------------------------------------------

What this means is that the program running tried to do something on an invalid network connection and the program didn't handle the error gracefully.  It's possible that something messed up your WINSOCK installation.  You might try reinstalling it.  
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now