TCPConnection StartListening Method (List IPEndPoint , Boolean)NetworkComms.Net Help
Accept new TCP connections on specified list of OnlineIPEndPoint

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

[ObsoleteAttribute("Depreciated, please use Connection.StartListening.")]
public static void StartListening(
	List<IPEndPoint> localEndPoints,
	bool useRandomPortFailOver = true
)

Parameters

localEndPoints
Type: OnlineSystem.Collections.Generic List OnlineIPEndPoint 
The localEndPoints to listen for connections on
useRandomPortFailOver (Optional)
Type: OnlineSystem Boolean
If true and the requested local port is not available on a given IPEndPoint will select one at random. If false and a port is unavailable will throw CommsSetupShutdownException
See Also