RetroArch
Functions
net_socket.c File Reference
#include <stdio.h>
#include <net/net_compat.h>
#include <net/net_socket.h>
Include dependency graph for net_socket.c:

Functions

int socket_init (void **address, uint16_t port, const char *server, enum socket_type type)
 
int socket_next (void **addrinfo)
 
ssize_t socket_receive_all_nonblocking (int fd, bool *error, void *data_, size_t size)
 
int socket_receive_all_blocking (int fd, void *data_, size_t size)
 
bool socket_nonblock (int fd)
 
int socket_close (int fd)
 
int socket_select (int nfds, fd_set *readfs, fd_set *writefds, fd_set *errorfds, struct timeval *timeout)
 
int socket_send_all_blocking (int fd, const void *data_, size_t size, bool no_signal)
 
ssize_t socket_send_all_nonblocking (int fd, const void *data_, size_t size, bool no_signal)
 
bool socket_bind (int fd, void *data)
 
int socket_connect (int fd, void *data, bool timeout_enable)
 
static int domain_get (enum socket_domain type)
 
int socket_create (const char *name, enum socket_domain domain_type, enum socket_type socket_type, enum socket_protocol protocol_type)
 
void socket_set_target (void *data, socket_target_t *in_addr)
 

Function Documentation

◆ domain_get()

static int domain_get ( enum socket_domain  type)
static
Here is the caller graph for this function:

◆ socket_bind()

bool socket_bind ( int  fd,
void data 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ socket_close()

int socket_close ( int  fd)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ socket_connect()

int socket_connect ( int  fd,
void data,
bool  timeout_enable 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ socket_create()

int socket_create ( const char *  name,
enum socket_domain  domain_type,
enum socket_type socket_type  ,
enum socket_protocol  protocol_type 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ socket_init()

int socket_init ( void **  address,
uint16_t  port,
const char *  server,
enum socket_type  type 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ socket_next()

int socket_next ( void **  addrinfo)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ socket_nonblock()

bool socket_nonblock ( int  fd)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ socket_receive_all_blocking()

int socket_receive_all_blocking ( int  fd,
void data_,
size_t  size 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ socket_receive_all_nonblocking()

ssize_t socket_receive_all_nonblocking ( int  fd,
bool error,
void data_,
size_t  size 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ socket_select()

int socket_select ( int  nfds,
fd_set readfs,
fd_set writefds,
fd_set errorfds,
struct timeval timeout 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ socket_send_all_blocking()

int socket_send_all_blocking ( int  fd,
const void data_,
size_t  size,
bool  no_signal 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ socket_send_all_nonblocking()

ssize_t socket_send_all_nonblocking ( int  fd,
const void data_,
size_t  size,
bool  no_signal 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ socket_set_target()

void socket_set_target ( void data,
socket_target_t in_addr 
)
Here is the call graph for this function:
Here is the caller graph for this function: