NetworkComms GetExistingConnection Method (ConnectionInfo)NetworkComms.Net Help
Retrieve an existing connection with the provided ConnectionInfo. Internally matches connection based on IPEndPoint, ConnectionType, NetworkIdentifier and ApplicationLayerProtocol status.

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

public static Connection GetExistingConnection(
	ConnectionInfo connectionInfo
)

Parameters

connectionInfo
Type: NetworkCommsDotNet ConnectionInfo
ConnectionInfo corresponding with the desired connection.

Return Value

Type: Connection
The desired connection. If no matching connection exists returns null.
See Also