C# Class TLSharp.Core.Network.TcpTransport

Inheritance: IDisposable
显示文件 Open project: sochix/TLSharp Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
Receieve ( ) : Task
Send ( byte packet ) : System.Threading.Tasks.Task
TcpTransport ( string address, int port ) : System

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Receieve() public method

public Receieve ( ) : Task
return Task

Send() public method

public Send ( byte packet ) : System.Threading.Tasks.Task
packet byte
return System.Threading.Tasks.Task

TcpTransport() public method

public TcpTransport ( string address, int port ) : System
address string
port int
return System