ConnectionInfo Constructor (ConnectionType, ShortGuid, EndPoint, Boolean, ApplicationLayerProtocolStatus)NetworkComms.Net Help
Create a connectionInfo object which can be used to inform a remote peer of local connectivity

Namespace: NetworkCommsDotNet
Assembly: NetworkCommsDotNet (in NetworkCommsDotNet.dll) Version: 3.0.0.0 (3.0.0.0)
Syntax

public ConnectionInfo(
	ConnectionType connectionType,
	ShortGuid localNetworkIdentifier,
	EndPoint localEndPoint,
	bool isConnectable,
	ApplicationLayerProtocolStatus applicationLayerProtocol
)

Parameters

connectionType
Type: NetworkCommsDotNet.Connections ConnectionType
The type of connection
localNetworkIdentifier
Type: NetworkCommsDotNet.Tools ShortGuid
The local network identifier
localEndPoint
Type: OnlineSystem.Net EndPoint
The localEndPoint which should be referenced remotely
isConnectable
Type: OnlineSystem Boolean
True if connectable on provided localEndPoint
applicationLayerProtocol
Type: NetworkCommsDotNet.Connections ApplicationLayerProtocolStatus
If enabled NetworkComms.Net uses a custom application layer protocol to provide useful features such as inline serialisation, transparent packet transmission, remote peer handshake and information etc. We strongly recommend you enable the NetworkComms.Net application layer protocol.
See Also