Function amqp_get_socket

Synopsis

#include <librabbitmq/amqp.h>

amqp_socket_t * amqp_get_socket(amqp_connection_state_t state)

Description

Get the socket object associated with a amqp_connection_state_t

Parameters:

[ in ] state - the connection object to get the socket from

Return
a pointer to the socket object, or NULL if one has not been assigned
Since
v0.4.0

Source

Lines 137-139 in librabbitmq/amqp_connection.c. Line 2397 in librabbitmq/amqp.h.

amqp_socket_t *amqp_get_socket(amqp_connection_state_t state) {
  return state->socket;
}





Add Discussion as Guest

Log in to DocsForge