WSAEPROTOTYPE - Error 10041

Product: Version: Platform:
ALL ALL ALL

Question/Problem: Protocol wrong type for socket.

Answer/Solution: A protocol was specified that does not support the semantics of the socket type requested. For example, you cannot use the ARPA Internet UDP protocol with type SOCK_STREAM.

This error occurs if you specifically reference a protocol that isn't part of the address family you also reference. The only function that takes these two explicit parameters is socket.

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

Return To KnowledgeBase Search Page