Start listening for new incoming connections on specified IPEndPoint. Inspect listener.LocalListenIPEndPoint
when method returns to determine the IPEndPoint used.
Namespace: NetworkCommsDotNet.ConnectionsAssembly: NetworkCommsDotNet (in NetworkCommsDotNet.dll) Version: 3.0.0.0 (3.0.0.0)
Syntax
Parameters
- listener
- Type: NetworkCommsDotNet.Connections ConnectionListenerBase
The listener to use.
- desiredLocalEndPoint
- Type: T
The desired local IPEndPoint to use for listening. Use a port number of 0 to dynamically select a port.
- useRandomPortFailOver (Optional)
- Type: System Boolean
If true and the requested local port is not available will select one at random. If false and provided port is unavailable will throw CommsSetupShutdownException
Type Parameters
- T
[Missing <typeparam name="T"/> documentation for "M:NetworkCommsDotNet.Connections.Connection.StartListening``1(NetworkCommsDotNet.Connections.ConnectionListenerBase,``0,System.Boolean)"]
See Also