Gets the socket type of the socket client.
See set_socket_type for details.
a SocketClient.
a SocketFamily