C# 클래스 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
파일 보기 프로젝트 열기: zoompf/SPDYCheck

공개 메소드들

메소드 설명
Connect ( string host, int port, int timeoutMSec ) : TcpClient

비공개 메소드들

메소드 설명
CallBackMethod ( IAsyncResult asyncresult ) : void

메소드 상세

Connect() 공개 정적인 메소드

public static Connect ( string host, int port, int timeoutMSec ) : TcpClient
host string
port int
timeoutMSec int
리턴 System.Net.Sockets.TcpClient