C# Class NodeNetAsync.Net.TcpSocket

Inheritance: NodeNetAsync.Streams.NodeBufferedStream
Show file Open project: soywiz/NodeNetAsync Class Usage Examples

Public Methods

Method Description
CloseAsync ( ) : Task
ConnectAsync ( string Host, int Port ) : Task
CreateAndConnectAsync ( string Host, int Port, int BufferSize = NodeBufferedStream.DefaultBufferSize ) : Task
SecureSslAsync ( string Domain ) : Task
TcpSocket ( int BufferSize = NodeBufferedStream.DefaultBufferSize ) : System

Private Methods

Method Description
TcpSocket ( TcpClient TcpClient, int BufferSize = NodeBufferedStream.DefaultBufferSize ) : System
_Connected ( ) : void
_Init ( ) : void

Method Details

CloseAsync() public method

public CloseAsync ( ) : Task
return Task

ConnectAsync() public method

public ConnectAsync ( string Host, int Port ) : Task
Host string
Port int
return Task

CreateAndConnectAsync() static public method

static public CreateAndConnectAsync ( string Host, int Port, int BufferSize = NodeBufferedStream.DefaultBufferSize ) : Task
Host string
Port int
BufferSize int
return Task

SecureSslAsync() public method

public SecureSslAsync ( string Domain ) : Task
Domain string
return Task

TcpSocket() public method

public TcpSocket ( int BufferSize = NodeBufferedStream.DefaultBufferSize ) : System
BufferSize int
return System