BUG: WSARecvEx Fails to Set MSG_PARTIAL Flag on Windows 95

Last reviewed: February 6, 1997
Article ID: Q139799
The information in this article applies to:
  • Microsoft Win32 Software Development Kit (SDK) version 4.0

SYMPTOMS

The Winsock API WSARecvEx() on Windows 95 does not set the Flags parameter to MSG_PARTIAL even if the message was not completely received.

STATUS

Microsoft has confirmed this to be a problem in Microsoft Windows 95. A fix to this problem is in development, but has not been regression-tested and may be destabilizing in production environments. Microsoft does not recommend implementing this fix at this time. Contact Microsoft Technical Support for more information on the availability of this fix.

MORE INFORMATION

Winsock applications on Windows NT that use message-oriented protocols like SPX with SOCK_SEQPACKET may use the WSARecvEx API instead of recv. The last parameter of the API is set to MSG_PARTIAL if there was not enough buffer space to receive the complete message. This enables an application to detect partial messages.

Windows 95 does not set the flags to MSG_PARTIAL.

REFERENCES

Win32 SDK Online Reference, WSARecvEx Function.


KBCategory: kbnetwork kbbuglist
KBSubcategory: NtwkMisc
Additional reference words: 4.00 Windows 95




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: February 6, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.