methodTsnicClassClient.TryGetConnection
function TryGetConnection(out aConnection: IsnipConnection): Boolean;
Returns True and hands back the attached connection in aConnection, or returns False with aConnection nil when none is attached. Unlike reading Connection it never raises, so a transport component can ask whether it has a connection to close. The answer and the connection come from a single read, so there is no second read that could find another connection, and the reference handed back keeps it alive.