bool silc_socket_get_error(SilcSocketConnection sock, char *error, SilcUInt32 error_len);
Returns human readable error message into the `error' buffer if the socket is in error status. Returns TRUE if error message was written into the buffer and FALSE if there is not socket error.