Help and Support

WinSock Zero-Length Packet Not Sent on Network

Article ID:161179
Last Review:November 15, 2006
Revision:1.1
This article was previously published under Q161179

SYMPTOMS

In Windows 95, if the Windows Sockets Send() function is used to send zero-length packets using a stream-oriented socket over IPX/SPX, the function returns a success status, but no packet is sent on the network.

Back to the top

CAUSE

The WinSock specifications do not require that a Send() function with a length of zero actually result in a packet being sent over the network when the Send() function is called on a stream-oriented socket. Windows 95 does not actually send a packet across the network when the Send() function is called with a length of zero over a stream-oriented socket over SPX/IPX.

Back to the top

STATUS

This problem no longer occurs in Windows 98. To resolve this problem, install the current version of Windows. For information about the current version of Windows, visit http://www.microsoft.com/windows (http://www.microsoft.com/windows).

Back to the top

MORE INFORMATION

According to the WinSock 2.0 specification, calling the Send() function with a length of zero is to be treated by implementations as successful. In this case, the Send() function may return 0 as a valid return value. For message-oriented sockets, a zero-length transport datagram is sent.

Back to the top


APPLIES TO
Microsoft Windows 95

Back to the top

Keywords: 
kbapi kbnetwork kbprb kbwinsock KB161179

Back to the top

Article Translations

 

Other Support Options

  • Contact Microsoft
    Phone Numbers, Support Options and Pricing, Online Help, and more.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.