WSAEINTR - Error 10004

Product: Version: Platform:
All All All

Question/Problem: Interrupted function call.

Answer/Solution: A blocking operation was interrupted by a call to WSACancelBlockingCall. An asynchronous signal (such as SIGINT or SIGQUIT) was caught by the process during the execution of an interruptible function. If the signal handler performs a normal return, the interrupted function call will seem to have returned the error condition.

Developer suggestions: You need to be prepared to handle this error on any functions that reference blocking sockets, or any calls to blocking functions, if you allow the user to cancel a blocking call. Whether to handle it as a fatal error or non-fatal error depends on the application and the context, so it's up to you to decide.

Document #: Revision Date:
WSK-19980714-EM08 10/01/04

Return To KnowledgeBase Search Page