C# Class TrinityCore_Manager.TCP.TCClient

Inheritance: IDisposable
Afficher le fichier Open project: TrinityCore-Manager/TrinityCore-Manager-v3

Méthodes publiques

Méthode 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

Méthode Description
Connected ( IAsyncResult iar ) : void
ProcessReceive ( int read ) : void
Receive ( IAsyncResult iar ) : void
Send ( IAsyncResult iar ) : void

Method Details

Connect() public méthode

Connect To Server
public Connect ( ) : void
Résultat void

Disconnect() public méthode

Disconnect from server
public Disconnect ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( bool disposing ) : void
disposing bool
Résultat void

Send() public méthode

Send a message to the server
public Send ( string message ) : void
message string The message to send
Résultat void

TCClient() public méthode

public TCClient ( string host, int port ) : System
host string
port int
Résultat System