Knowledge Base

PRB: MSG_OOB and MSG_DONTROUTE Not Supported Over IPX Sockets

Article ID: 174158

Article Last Modified on 11/21/2006


APPLIES TO


This article was previously published under Q174158

SYMPTOMS

When you use the WinSock send() or sendto() APIs on Windows 95 to send over an IPX/SPX socket, the MSG_DONTROUTE and MSG_OOB flags are not supported.

With the version of WSIPX (Windows Sockets support for IPX/SPX) that ships with Windows 95, setting these flags will have no effect. However, with newer versions of WSIPX the call will fail if these flags are set. GetLastError() will return WSAEOPNOTSUPP (error 10045).

CAUSE

There is no implementation provided in the IPX/SPX Compatible protocol for handling Out-Of-Band (Urgent) data, or for making IPX packets non-routable.

RESOLUTION

When using IPX/SPX sockets and calling send() or sendto(), do not set the MSG_DONTROUTE or MSG_OOB flags.

STATUS

This behavior is by design.

MORE INFORMATION

Keywords: kbapi kbnetwork kbprb kbwinsock KB174158