IServerConnection Interface

Interface of a connection used by a server

Definition

Namespace: ARSoft.Tools.Net.Dns
Assembly: ARSoft.Tools.Net (in ARSoft.Tools.Net.dll) Version: 3.6.1+aaafdcd61f068318c11734f7b3c59c69371c0549
C#
public interface IServerConnection : IDisposable
Implements
IDisposable

Properties

CanRead A value indicating if data could be read from the client
LocalEndPoint The local endpoint of the connection
RemoteEndPoint The remote endpoint of the connection
Transport The corresponding transport

Methods

DisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable)
InitializeAsync Initializes the connection before it can be used for sending/receiving data
ReceiveAsync Receives a new package of the client
SendAsync Sends a raw package to the client

See Also