RetroArch
|
#include <boolean.h>
#include <retro_inline.h>
#include <stdint.h>
#include <sys/select.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <fcntl.h>
#include <signal.h>
#include <errno.h>
#include <sys/time.h>
#include <unistd.h>
Go to the source code of this file.
Macros | |
#define | MSG_NOSIGNAL 0 |
Functions | |
static INLINE bool | isagain (int bytes) |
uint16_t | inet_htons (uint16_t hostshort) |
int | inet_ptrton (int af, const char *src, void *dst) |
int | getaddrinfo_retro (const char *node, const char *service, struct addrinfo *hints, struct addrinfo **res) |
void | freeaddrinfo_retro (struct addrinfo *res) |
bool | network_init (void) |
void | network_deinit (void) |
const char * | inet_ntop_compat (int af, const void *src, char *dst, socklen_t cnt) |
bool | udp_send_packet (const char *host, uint16_t port, const char *msg) |
#define MSG_NOSIGNAL 0 |
int getaddrinfo_retro | ( | const char * | node, |
const char * | service, | ||
struct addrinfo * | hints, | ||
struct addrinfo ** | res | ||
) |
network_deinit:
Deinitialize platform specific socket libraries.
network_init:
Platform specific socket library initialization.
Returns: true (1) if successful, otherwise false (0).