Connection CloseConnection Method NetworkComms.Net Help
Closes the connection and trigger any associated shutdown delegates.

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

public void CloseConnection(
	bool closeDueToError,
	int logLocation = 0
)

Parameters

closeDueToError
Type: OnlineSystem Boolean
Closing a connection due an error possibly requires a few extra steps.
logLocation (Optional)
Type: OnlineSystem Int32
Optional debug parameter.
See Also