PRB: MSG_OOB and MSG_DONTROUTE Not Supported Over IPX Sockets

Last reviewed: September 25, 1997
Article ID: Q174158
The information in this article applies to:
  • Microsoft Win32 Application Programming Interface (API) included with: - Windows 95

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.

Keywords          : NtwkWinsock
Platform          : Win95
Issue type        : kbprb


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: September 25, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.