C# Class PRI.ProductivityExtensions.TcpListenerExtensions.TcpListenerable

Class that contains extension methods that extend TcpListener
Afficher le fichier Open project: peteraritchie/ProductivityExtensions

Méthodes publiques

Méthode Description
BeginAcceptSocket ( this tcplistener, AsyncCallback callback ) : IAsyncResult

Extends BeginAcceptSocket so that when a state object is not needed, null does not need to be passed. tcplistener.BeginAcceptSocket(callback);

BeginAcceptTcpClient ( this tcplistener, AsyncCallback callback ) : IAsyncResult

Extends BeginAcceptTcpClient so that when a state object is not needed, null does not need to be passed. tcplistener.BeginAcceptTcpClient(callback);

Method Details

BeginAcceptSocket() public static méthode

Extends BeginAcceptSocket so that when a state object is not needed, null does not need to be passed. tcplistener.BeginAcceptSocket(callback);
public static BeginAcceptSocket ( this tcplistener, AsyncCallback callback ) : IAsyncResult
tcplistener this
callback AsyncCallback
Résultat IAsyncResult

BeginAcceptTcpClient() public static méthode

Extends BeginAcceptTcpClient so that when a state object is not needed, null does not need to be passed. tcplistener.BeginAcceptTcpClient(callback);
public static BeginAcceptTcpClient ( this tcplistener, AsyncCallback callback ) : IAsyncResult
tcplistener this
callback AsyncCallback
Résultat IAsyncResult