rabbitmq-c

Function amqp_tcp_socket_set_sockfd

Synopsis

#include <rabbitmq-c/librabbitmq/amqp_tcp_socket.h>

AMQP_PUBLIC_FUNCTION void AMQP_CALL amqp_tcp_socket_set_sockfd(amqp_socket_t *self, int sockfd)

Description

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.

Parameters

self

A TCP socket object.

sockfd

An open socket descriptor.

Since

v0.4.0

Examples

//
//

Source

AMQP_PUBLIC_FUNCTION void AMQP_CALL amqp_tcp_socket_set_sockfd(amqp_socket_t *self, int sockfd) has no body



Discussions

There are 0 discussions relevant for this page, and 0 discussions in the whole project.




Add Discussion

Log in to comment