Microsoft KB Archive/825724

= A delay may occur when a call is made to the TCPClient method in the Microsoft .NET Framework 1.1 =

Article ID: 825724

Article Last Modified on 5/17/2007

-

APPLIES TO


 * Microsoft .NET Framework 1.1

-





SYMPTOMS
You may notice a delay of 60 seconds or more when a call is made to the TCPClient method in the Microsoft .NET Framework 1.1.



WORKAROUND
To work around this behavior, you must load the configuration file of the control before the TCPClient method is called. To do this, follow these steps:   Add the following code to the UserControl1_Load event: bool temp=ServicePointManager.CheckCertificateRevocationList;   Add the following code to the UserControl1_Load event: bool temp=ServicePointManager.DefaultConnectionLimit; You have to do this because the ServicePointManager class does not have the CheckCertificateRevocationList property in the .NET Framework 1.1.

Note You have to use the System.Net namespace to access the ServicePointManger class and its members. 



STATUS
This behavior is by design.

