Microsoft KB Archive/120671

{|
 * width="100%"|

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

 * }

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

Issue type : kbprb

Technology : kbSQLServSearch kbAudDeveloper kbSQLServPTK420