Skip to main content

Interface IEndPoint

Object that can be used as an endpoint for and

Implementation of this should override and so that 2 instance wil be equal if they have the same address internally

When a new connection is received by Peer a copy of this endpoint will be created and given to that connection. On future received the incoming endpoint will be compared to active connections inside a dictionary

Syntax
public interface IEndPoint

Methods

CreateCopy()

Creates a new instance of with same connection data this is called when a new connection is created by

Declaration
IEndPoint CreateCopy()
Returns
TypeDescription
Mirage.SocketLayer.IEndPoint