C# Класс Squishy.Network.Listener

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
BindAddress System.Net.IPAddress

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

Метод Описание
BeginListen ( int port ) : void

Starts listening on the given port.

Close ( ) : void

Shuts this Listener down - if still listening.

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

Метод Описание
AcceptNotify ( Connection client ) : void
CloseNotify ( ) : void
ListenFailedNotify ( Exception e ) : void
OnAccept ( IAsyncResult ar ) : void

Is called, once a client connected to this listener.

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

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

Starts listening on the given port.
public BeginListen ( int port ) : void
port int
Результат void

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

Shuts this Listener down - if still listening.
public Close ( ) : void
Результат void

Описание свойств

BindAddress публичное статическое свойство

Local address for the server to bind to. Usually there is no need to change this.
public static IPAddress,System.Net BindAddress
Результат System.Net.IPAddress