C# Class TSystems.RELOAD.Util.TimeoutSocket

Afficher le fichier Open project: RELOAD-NET/RELOAD.NET

Méthodes publiques

Méthode Description
Accept ( Socket listeningSocket, int acceptTimeout ) : Socket
Connect ( Socket connectingSocket, IPEndPoint connectEndPoint, int connectTimeout ) : void

Private Methods

Méthode Description
AcceptCallback ( IAsyncResult ar ) : void
AcceptThread ( object data ) : void
ConnectCallback ( IAsyncResult ar ) : void
ConnectThread ( object data ) : void

Method Details

Accept() public static méthode

public static Accept ( Socket listeningSocket, int acceptTimeout ) : Socket
listeningSocket Socket
acceptTimeout int
Résultat Socket

Connect() public static méthode

public static Connect ( Socket connectingSocket, IPEndPoint connectEndPoint, int connectTimeout ) : void
connectingSocket Socket
connectEndPoint System.Net.IPEndPoint
connectTimeout int
Résultat void