Utility Functions: Socket ID Functions (get_)

The socket ID functions return the socket ID. Unlike other general utility functions, they do not have an "lr" prefix. They are defined for each applicable protocol, and the prefix is that of the protocol.

The functions are:

Returns the socket ID
Returns the socket ID for a session
Returns the secure socket ID
Returns the secure socket ID for a session