|
rabbitmq-c
C AMQP Client library for RabbitMQ
|
Go to the source code of this file.
Functions | |
| amqp_socket_t * | amqp_tcp_socket_new (amqp_connection_state_t state) |
| A TCP socket connection. More... | |
| void | amqp_tcp_socket_set_sockfd (amqp_socket_t *base, int sockfd) |
| Assign an open file descriptor to a socket object. More... | |
| amqp_socket_t* amqp_tcp_socket_new | ( | amqp_connection_state_t | state) |
A TCP socket connection.
Create a new TCP socket.
Call amqp_socket_close() to release socket resources.
| void amqp_tcp_socket_set_sockfd | ( | amqp_socket_t * | base, |
| int | sockfd | ||
| ) |
Assign an open file descriptor to a socket object.
This function must not be used in conjunction with amqp_socket_open(), i.e. the socket connection should already be open(2) when this function is called.
| [in,out] | self | A TCP socket object. |
| [in] | sockfd | An open socket descriptor. |
1.8.4