Windows Sockets select() Function Adds 500 Millisecond Time-Out

Article translations Article translations
Article ID: 257821 - View products that this article applies to.
This article was previously published under Q257821
Expand all | Collapse all

SYMPTOMS

The select function adds 500 milliseconds (msec) to the running time when the timeval parameter specifies 500 or more msec. This occurs when a socket is checked for readability or errors.

As a consequence, it is not possible to effectively specify a timeout of between 500 and 1000 msec.

CAUSE

The select function calls an internal socket provider function that does not eliminate the time used during an optimized check for blocking callbacks.

RESOLUTION

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support
Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

   Date        Time    Version      Size   File name    Platform
   ------------------------------------------------------------------
   03/22/2000  01:08p  4.10.0.2000  27,648 Msafd.dll    Windows 98
   03/22/2000  01:31p  4.10.0.2000  26,624 Mswsosp.dll  Windows 98
   03/22/2000  12:44p  4.10.0.2223  27,648 Msafd.dll    Windows 98 SE
   03/22/2000  12:55p  4.10.0.2223  26,624 Mswsosp.dll  Windows 98 SE
				

STATUS

Microsoft has confirmed that this is a problem in all versions of Windows 95 and Windows 98.

MORE INFORMATION

For additional information about Windows 98 and Windows 98 Second Edition hotfixes, click the article number below to view the article in the Microsoft Knowledge Base:
206071 General Information About Windows 98 and Windows 98 Second Edition Hotfixes

Properties

Article ID: 257821 - Last Review: January 27, 2007 - Revision: 1.6
APPLIES TO
  • Microsoft Platform Software Development Kit-January 2000 Edition
  • Microsoft Windows 95
  • Microsoft Windows 98 Standard Edition
  • Microsoft Windows 98 Second Edition
Keywords: 
kbhotfixserver kbqfe kbprb kbprogramming kbqfe KB257821

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com