PRB: DBMSSOC3 Fails if TCP Session Setup Takes More Than 5 Sec

Last reviewed: April 30, 1997
Article ID: Q120671

The information in this article applies to:
  • Microsoft SQL Server Programmer's Toolkit, version 4.2

SYMPTOMS

Microsoft TCPIP Sockets for Windows (using DBMSSOC3.DLL) connections are only supported using Microsoft Windows for Workgroups version 3.11 and Microsoft TCPIP for Windows for Workgroups. Microsoft TCPIP sockets for Windows connections will timeout if the initial TCP Session setup takes more than 5 seconds.

MORE INFORMATION

If you are experiencing connection problems with Winsock using DBMSSOC3.DLL, you can now adjust the socket connect and name resolution timeouts by adding an entry to the [SQLSERVER] section in the WIN.INI file. This option is only available with DBMSSOC3.DLL version 4.21.05 dated 7/15/94. For example:

   [SQLSERVER]
   MaxSecondsToBlock=15

If the entry is not found by DBMSSOC3.DLL, then the Network Library (Net- Library) timeout defaults to 5 seconds.


Additional query words: Windows NT
Keywords : kbtool SSrvNet_Lib SSrvServer SSrvWinNT
Version : 4.2 | 4.2
Platform : OS/2 WINDOWS


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