C# Class Zoompf.SPDYAnalysis.TimeOutSocket

Helpful wrapper class, to try and do a TCP connect to a host and port, but to timeout during the connect if too much time passes
Afficher le fichier Open project: zoompf/SPDYCheck

Méthodes publiques

Méthode Description
Connect ( string host, int port, int timeoutMSec ) : TcpClient

Private Methods

Méthode Description
CallBackMethod ( IAsyncResult asyncresult ) : void

Method Details

Connect() public static méthode

public static Connect ( string host, int port, int timeoutMSec ) : TcpClient
host string
port int
timeoutMSec int
Résultat System.Net.Sockets.TcpClient