get_protocol
Description:
Gets the socket protocol id the socket was created with.
In case the protocol is unknown, -1 is returned.
Parameters:
| this | a Socket. | 
Returns:
| a protocol id, or -1 if unknown | 
Gets the socket protocol id the socket was created with.
In case the protocol is unknown, -1 is returned.
| this | a Socket. | 
| a protocol id, or -1 if unknown |