Listener Methods

Mentalis.org Proxy

Mentalis.org Proxy Documentation

Listener Methods

The methods of the Listener class are listed below. For a complete list of Listener class members, see the Listener Members topic.

Public Static (Shared) Methods

GetLocalExternalIPReturns an external IP address of this computer, if present.
GetLocalInternalIPReturns an internal IP address of this computer, if present.

Protected Static (Shared) Methods

IsLocalIPChecks whether the specified IP address is a local IP address or not.
IsRemoteIPChecks whether the specified IP address is a remote IP address or not.

Public Instance Methods

DisposeDisposes of the resources (other than memory) used by the Listener.
Equals (inherited from Object)Select the method name to go to the Microsoft documentation.
GetClientAtReturns the requested client from the client list.
GetClientCountReturns the number of clients in the client list.
GetHashCode (inherited from Object)Select the method name to go to the Microsoft documentation.
GetType (inherited from Object)Select the method name to go to the Microsoft documentation.
OnAcceptCalled when there's an incoming client connection waiting to be accepted.
StartStarts listening on the selected IP address and port.
ToStringReturns a string representation of this object.

Protected Instance Methods

AddClientAdds the specified Client to the client list.
FinalizeFinalizes the Listener.
MemberwiseClone (inherited from Object)Select the method name to go to the Microsoft documentation.
RemoveClientRemoves the specified Client from the client list.
RestartRestarts listening on the selected IP address and port.

See Also

Listener Class | Org.Mentalis.Proxy Namespace