WSAEBADF - Error 10009

Product: Version: Platform:
All N/A All

Question/Problem: WSAEBADF (10009) Bad file descriptor

Answer/Solution:
A file descriptor argument was out of range, referred to no open file, or a read (write) request was made to a file that was only open for writing (reading).

WinSock description: No equivalent in WinSock. However, because a BSD socket is equivalent to a file handle, some Windows Sockets platforms provide some file handle and socket equivalency. In this case, the WSAEBADF error might mean the same as a WSAENOTSOCK error.

Document #: Revision Date:
WSK-19980702-EM01 10/01/04

Return To KnowledgeBase Search Page