C# Class TrinityCore_Manager.TCP.TCClient

Inheritance: IDisposable
Mostrar archivo Open project: TrinityCore-Manager/TrinityCore-Manager-v3

Public Methods

Method Description
Connect ( ) : void

Connect To Server

Disconnect ( ) : void

Disconnect from server

Dispose ( ) : void
Dispose ( bool disposing ) : void
Send ( string message ) : void

Send a message to the server

TCClient ( string host, int port ) : System

Private Methods

Method Description
Connected ( IAsyncResult iar ) : void
ProcessReceive ( int read ) : void
Receive ( IAsyncResult iar ) : void
Send ( IAsyncResult iar ) : void

Method Details

Connect() public method

Connect To Server
public Connect ( ) : void
return void

Disconnect() public method

Disconnect from server
public Disconnect ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

Dispose() public method

public Dispose ( bool disposing ) : void
disposing bool
return void

Send() public method

Send a message to the server
public Send ( string message ) : void
message string The message to send
return void

TCClient() public method

public TCClient ( string host, int port ) : System
host string
port int
return System