ConnectionListenerBase Constructor NetworkComms.Net Help
Create a new listener instance

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

protected ConnectionListenerBase(
	ConnectionType connectionType,
	SendReceiveOptions sendReceiveOptions,
	ApplicationLayerProtocolStatus applicationLayerProtocol,
	bool allowDiscoverable
)

Parameters

connectionType
Type: NetworkCommsDotNet.Connections ConnectionType
The connection type to listen for.
sendReceiveOptions
Type: NetworkCommsDotNet SendReceiveOptions
The send receive options to use for this listener
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.
allowDiscoverable
Type: OnlineSystem Boolean
Determines if the newly created ConnectionListenerBase will be discoverable if PeerDiscovery is enabled.
See Also