GRPC C++
1.39.1
|
#include <grpc/support/port_platform.h>
#include <grpc/grpc.h>
#include <grpc/grpc_posix.h>
#include <grpc/support/log.h>
Functions | |
void | grpc_server_add_insecure_channel_from_fd (grpc_server *, void *, int) |
Add the connected communication channel based on file descriptor 'fd' to the 'server'. More... | |
void grpc_server_add_insecure_channel_from_fd | ( | grpc_server * | server, |
void * | reserved, | ||
int | fd | ||
) |
Add the connected communication channel based on file descriptor 'fd' to the 'server'.
The 'fd' must be an open file descriptor corresponding to a connected socket. Events from the file descriptor may come on any of the server completion queues (i.e completion queues registered via the grpc_server_register_completion_queue API).
The 'reserved' pointer MUST be NULL.