IServer

Description

interface Tinman.Core.IO.Sockets.IServer

Derived from

IDisposable

Base interface for classes that act as network servers.

Public / Methods

Accept


[OwnerReturn]
public method Accept → ()

returns → IConnection

The accepted IConnection or null if the server socket has been closed (via IDisposable.Dispose).

Accepts a new client connection to this server.

IOException

If an I/O error has occurred.

Public / Attributes

End​Point


public attribute EndPoint → (get)

value : IEndPoint

[not-null]
The network endpoint address.

Returns the network endpoint address of this server.