C# Class PRI.ProductivityExtensions.TcpClientExtensions.TcpClientable

Afficher le fichier Open project: peteraritchie/ProductivityExtensions

Méthodes publiques

Méthode Description
BeginConnect ( this tcpClient, IPEndPoint endPoint, AsyncCallback asyncCallback ) : IAsyncResult
BeginConnect ( this tcpClient, IPEndPoint endPoint, AsyncCallback asyncCallback, object state ) : IAsyncResult
BeginConnect ( this tcpclient, String host, Int32 port, AsyncCallback requestCallback ) : IAsyncResult

Extends BeginConnect so that when a state object is not needed, null does not need to be passed. tcpclient.BeginConnect(host, port, requestCallback);

BeginConnect ( this tcpclient, System address, Int32 port, AsyncCallback requestCallback ) : IAsyncResult

Extends BeginConnect so that when a state object is not needed, null does not need to be passed. tcpclient.BeginConnect(address, port, requestCallback);

ConnectAsync ( this tcpClient, EndPoint endPoint ) : System.Threading.Tasks.Task

Connect asyncronously to

Method Details

BeginConnect() public static méthode

public static BeginConnect ( this tcpClient, IPEndPoint endPoint, AsyncCallback asyncCallback ) : IAsyncResult
tcpClient this
endPoint System.Net.IPEndPoint
asyncCallback AsyncCallback
Résultat IAsyncResult

BeginConnect() public static méthode

public static BeginConnect ( this tcpClient, IPEndPoint endPoint, AsyncCallback asyncCallback, object state ) : IAsyncResult
tcpClient this
endPoint System.Net.IPEndPoint
asyncCallback AsyncCallback
state object
Résultat IAsyncResult

BeginConnect() public static méthode

Extends BeginConnect so that when a state object is not needed, null does not need to be passed. tcpclient.BeginConnect(host, port, requestCallback);
public static BeginConnect ( this tcpclient, String host, Int32 port, AsyncCallback requestCallback ) : IAsyncResult
tcpclient this
host String
port System.Int32
requestCallback AsyncCallback
Résultat IAsyncResult

BeginConnect() public static méthode

Extends BeginConnect so that when a state object is not needed, null does not need to be passed. tcpclient.BeginConnect(address, port, requestCallback);
public static BeginConnect ( this tcpclient, System address, Int32 port, AsyncCallback requestCallback ) : IAsyncResult
tcpclient this
address System
port System.Int32
requestCallback AsyncCallback
Résultat IAsyncResult

ConnectAsync() public static méthode

Connect asyncronously to
if is not a /// nor an
public static ConnectAsync ( this tcpClient, EndPoint endPoint ) : System.Threading.Tasks.Task
tcpClient this object to connect with
endPoint System.Net.EndPoint
Résultat System.Threading.Tasks.Task