C# Класс PRI.ProductivityExtensions.TcpListenerExtensions.TcpListenerable

Class that contains extension methods that extend TcpListener
Показать файл Открыть проект

Открытые методы

Метод Описание
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);

Описание методов

BeginAcceptSocket() публичный статический Метод

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
Результат IAsyncResult

BeginAcceptTcpClient() публичный статический Метод

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
Результат IAsyncResult