UDPConnection StartListening Method (List IPEndPoint , Boolean)NetworkComms.Net Help
Listen for incoming UDP packets on provided list of OnlineIPEndPoint.

Namespace: NetworkCommsDotNet.Connections.UDP
Assembly: NetworkCommsDotNet (in NetworkCommsDotNet.dll) Version: (

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


Type: OnlineSystem.Collections.Generic List OnlineIPEndPoint 
The localEndPoints to listen for packets on.
useRandomPortFailOver (Optional)
Type: OnlineSystem 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
See Also