C# Class SteamKit2.TcpConnection

Inheritance: Connection
Mostrar archivo Open project: Top-Cat/SteamBot

Public Methods

Method 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

Method Description
Cleanup ( ) : void
ConnectCompleted ( object sender, SocketAsyncEventArgs e ) : void
NetLoop ( ) : void

Nets the loop.

ReadPacket ( ) : void

Method Details

Connect() public method

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

Disconnect() public method

Disconnects this instance.
public Disconnect ( ) : void
return void

GetLocalIP() public method

Gets the local IP.
public GetLocalIP ( ) : IPAddress
return System.Net.IPAddress

Send() public method

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