C# Класс SteamDroidServer.SteamDroidServer

SteamDroidServer handles incomming connections
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
RemoveConnection ( ClientConnection connection ) : void

Removes a connection from the clients list

Start ( String ip, int port ) : void

Starts the server listening on the specified ip and port

SteamDroidServer ( ) : System

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

Метод Описание
listener_ConnectionOpened ( object sender, ConnectionEventArgs eArgs ) : void

Handles new connections

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

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

Removes a connection from the clients list
public RemoveConnection ( ClientConnection connection ) : void
connection SteamDroidServer.Client.ClientConnection The connection to remove
Результат void

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

Starts the server listening on the specified ip and port
public Start ( String ip, int port ) : void
ip String The ip to listen on
port int The port to listen on
Результат void

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

public SteamDroidServer ( ) : System
Результат System