UDPConnection StartListening Method (Boolean)NetworkComms.Net Help
Listen for incoming UDP packets on all allowed local IP's on default port.

Namespace: NetworkCommsDotNet.Connections.UDP
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(
	bool useRandomPortFailOver = false
)

Parameters

useRandomPortFailOver (Optional)
Type: OnlineSystem Boolean
If true and the default local port is not available will select one at random. If false and a port is unavailable listening will not be enabled on that adaptor unless NetworkComms.ListenOnAllAllowedInterfaces is false in which case a CommsSetupShutdownException will be thrown instead.
See Also