C# Class SteamKit2.TcpConnection

Inheritance: Connection
Afficher le fichier Open project: Top-Cat/SteamBot

Méthodes publiques

Méthode Description
Connect ( IPEndPoint endPoint ) : void

Connects to the specified end point.

Disconnect ( ) : void

Disconnects this instance.

GetLocalIP ( ) : IPAddress

Gets the local IP.

Send ( IClientMsg clientMsg ) : void

Sends the specified client net message.

Private Methods

Méthode Description
Cleanup ( ) : void
ConnectCompleted ( object sender, SocketAsyncEventArgs e ) : void
NetLoop ( ) : void

Nets the loop.

ReadPacket ( ) : void

Method Details

Connect() public méthode

Connects to the specified end point.
public Connect ( IPEndPoint endPoint ) : void
endPoint System.Net.IPEndPoint The end point.
Résultat void

Disconnect() public méthode

Disconnects this instance.
public Disconnect ( ) : void
Résultat void

GetLocalIP() public méthode

Gets the local IP.
public GetLocalIP ( ) : IPAddress
Résultat System.Net.IPAddress

Send() public méthode

Sends the specified client net message.
public Send ( IClientMsg clientMsg ) : void
clientMsg IClientMsg The client net message.
Résultat void