Listener Members

Mentalis.org Proxy

Mentalis.org Proxy Documentation

Listener Members

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 Constructors

Listener Constructor Initializes a new instance of the Listener class.

Public Instance Properties

ConstructStringReturns a string that holds all the construction information for this object.
IsDisposedGets a value indicating whether the Listener has been disposed or not.
ListeningGets a value indicating whether the Listener is currently listening 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 Properties

AddressGets or sets the address on which to listen on.
ClientsGets the list of connected clients.
ListenSocketGets or sets the listening Socket.
PortGets or sets the port number on which to listen on.

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.

Private Instance Fields

m_AddressHolds the value of the Address property.
m_ClientsHolds the value of the Clients property.
m_IsDisposedHolds the value of the IsDisposed property.
m_ListenSocketHolds the value of the ListenSocket property.
m_PortHolds the value of the Port property.

See Also

Listener Class | Org.Mentalis.Proxy Namespace