NetworkComms CloseAllConnections Method (ConnectionType,  EndPoint )NetworkComms.Net Help
Close all connections of the provided ConnectionType except to provided OnlineEndPoint array.

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

public static void CloseAllConnections(
	ConnectionType connectionTypeToClose,
	EndPoint[] closeAllExceptTheseRemoteEndPoints
)

Parameters

connectionTypeToClose
Type: NetworkCommsDotNet.Connections ConnectionType
The type of connections to be closed. ConnectionType.Undefined matches all types.
closeAllExceptTheseRemoteEndPoints
Type:  OnlineSystem.Net EndPoint 
Close all except those with remote EndPoint that is provided in OnlineEndPoint array
See Also