Create a connectionInfo object which can be used to inform a remote peer of local connectivity
Namespace: NetworkCommsDotNetAssembly: NetworkCommsDotNet (in NetworkCommsDotNet.dll) Version: 3.0.0.0 (3.0.0.0)
Syntax
Parameters
- connectionType
- Type: NetworkCommsDotNet.Connections ConnectionType
The type of connection
- localNetworkIdentifier
- Type: NetworkCommsDotNet.Tools ShortGuid
The local network identifier
- localEndPoint
- Type: System.Net EndPoint
The localEndPoint which should be referenced remotely
- isConnectable
- Type: System 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