C# Класс SteamKit2.TcpConnection

Наследование: Connection
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
Cleanup ( ) : void
ConnectCompleted ( object sender, SocketAsyncEventArgs e ) : void
NetLoop ( ) : void

Nets the loop.

ReadPacket ( ) : void

Описание методов

Connect() публичный Метод

Connects to the specified end point.
public Connect ( IPEndPoint endPoint ) : void
endPoint System.Net.IPEndPoint The end point.
Результат void

Disconnect() публичный Метод

Disconnects this instance.
public Disconnect ( ) : void
Результат void

GetLocalIP() публичный Метод

Gets the local IP.
public GetLocalIP ( ) : IPAddress
Результат System.Net.IPAddress

Send() публичный Метод

Sends the specified client net message.
public Send ( IClientMsg clientMsg ) : void
clientMsg IClientMsg The client net message.
Результат void