Accept new incoming TCP connections on specified
IPEndPoint
Namespace: NetworkCommsDotNet.Connections.TCP
Assembly: NetworkCommsDotNet (in NetworkCommsDotNet.dll) Version: 3.0.0.0 (3.0.0.0)
Syntax
Parameters
- newLocalEndPoint
- Type:
System.Net IPEndPoint
The localEndPoint to listen for connections on.
- useRandomPortFailOver (Optional)
- Type:
System Boolean
If true and the requested local port is not available will select one at random. If false and a port is unavailable will throw CommsSetupShutdownException
- allowDiscoverable (Optional)
- Type:
System Boolean
Determines if the newly created ConnectionListenerBase will be discoverable if PeerDiscovery is enabled.
See Also