Macros | Functions
socket_helper.c File Reference
#include <openssl/bio.h>
#include <openssl/err.h>
#include <fcntl.h>
#include <string.h>
#include <sys/types.h>
#include <netdb.h>
#include <unistd.h>
#include "internal.h"
#include "../internal.h"
Include dependency graph for socket_helper.c:

Go to the source code of this file.

Macros

#define _POSIX_C_SOURCE   200112L
 

Functions

void bio_clear_socket_error (void)
 
int bio_ip_and_port_to_socket_and_addr (int *out_sock, struct sockaddr_storage *out_addr, socklen_t *out_addr_length, const char *hostname, const char *port_str)
 
int bio_sock_error (int sock)
 
int bio_socket_nbio (int sock, int on)
 

Macro Definition Documentation

◆ _POSIX_C_SOURCE

#define _POSIX_C_SOURCE   200112L

Definition at line 16 of file socket_helper.c.

Function Documentation

◆ bio_clear_socket_error()

void bio_clear_socket_error ( void  )

Definition at line 110 of file socket_helper.c.

◆ bio_ip_and_port_to_socket_and_addr()

int bio_ip_and_port_to_socket_and_addr ( int out_sock,
struct sockaddr_storage *  out_addr,
socklen_t *  out_addr_length,
const char *  hostname,
const char *  port_str 
)

Definition at line 41 of file socket_helper.c.

◆ bio_sock_error()

int bio_sock_error ( int  sock)

Definition at line 112 of file socket_helper.c.

◆ bio_socket_nbio()

int bio_socket_nbio ( int  sock,
int  on 
)

Definition at line 91 of file socket_helper.c.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:31