#include <wiiu/types.h>
#include <stdint.h>
#include <sys/time.h>
Go to the source code of this file.
|
void | socket_lib_init () |
|
int | accept (int sockfd, struct sockaddr *addr, socklen_t *addrlen) |
|
int | bind (int sockfd, const struct sockaddr *addr, socklen_t addrlen) |
|
int | socketclose (int sockfd) |
|
int | connect (int sockfd, const struct sockaddr *addr, socklen_t addrlen) |
|
int | getpeername (int sockfd, struct sockaddr *addr, socklen_t *addrlen) |
|
int | getsockname (int sockfd, struct sockaddr *addr, socklen_t *addrlen) |
|
int | getsockopt (int sockfd, int level, int optname, void *optval, socklen_t *optlen) |
|
int | listen (int sockfd, int backlog) |
|
ssize_t | recv (int sockfd, void *buf, size_t len, int flags) |
|
ssize_t | recvfrom (int sockfd, void *buf, size_t len, int flags, struct sockaddr *src_addr, socklen_t *addrlen) |
|
ssize_t | send (int sockfd, const void *buf, size_t len, int flags) |
|
ssize_t | sendto (int sockfd, const void *buf, size_t len, int flags, const struct sockaddr *dest_addr, socklen_t addrlen) |
|
int | setsockopt (int sockfd, int level, int optname, const void *optval, socklen_t optlen) |
|
int | shutdown (int sockfd, int how) |
|
int | socket (int domain, int type, int protocol) |
|
int | select (int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout) |
|
int | socketlasterr (void) |
|
◆ AF_INET
◆ AF_UNSPEC
◆ EAGAIN
◆ ENOBUFS
#define ENOBUFS 105 /* No buffer space available */ |
◆ EWOULDBLOCK
◆ INADDR_ANY
◆ MSG_DONTWAIT
#define MSG_DONTWAIT 0x0020 |
◆ SO_EINVAL
◆ SO_EWOULDBLOCK
◆ SO_NBIO
◆ SO_NONBLOCK
#define SO_NONBLOCK 0x1016 |
◆ SO_REUSEADDR
#define SO_REUSEADDR 0x0004 |
◆ SO_SUCCESS
◆ SOCK_DGRAM
◆ SOCK_STREAM
◆ sockaddr_storage
◆ SOL_SOCKET
◆ sa_family_t
◆ socklen_t
◆ accept()
◆ bind()
◆ connect()
◆ getpeername()
◆ getsockname()
◆ getsockopt()
int getsockopt |
( |
int |
sockfd, |
|
|
int |
level, |
|
|
int |
optname, |
|
|
void * |
optval, |
|
|
socklen_t * |
optlen |
|
) |
| |
◆ listen()
int listen |
( |
int |
sockfd, |
|
|
int |
backlog |
|
) |
| |
◆ recv()
ssize_t recv |
( |
int |
sockfd, |
|
|
void * |
buf, |
|
|
size_t |
len, |
|
|
int |
flags |
|
) |
| |
◆ recvfrom()
ssize_t recvfrom |
( |
int |
sockfd, |
|
|
void * |
buf, |
|
|
size_t |
len, |
|
|
int |
flags, |
|
|
struct sockaddr * |
src_addr, |
|
|
socklen_t * |
addrlen |
|
) |
| |
◆ select()
◆ send()
ssize_t send |
( |
int |
sockfd, |
|
|
const void * |
buf, |
|
|
size_t |
len, |
|
|
int |
flags |
|
) |
| |
◆ sendto()
◆ setsockopt()
int setsockopt |
( |
int |
sockfd, |
|
|
int |
level, |
|
|
int |
optname, |
|
|
const void * |
optval, |
|
|
socklen_t |
optlen |
|
) |
| |
◆ shutdown()
int shutdown |
( |
int |
sockfd, |
|
|
int |
how |
|
) |
| |
◆ socket()
int socket |
( |
int |
domain, |
|
|
int |
type, |
|
|
int |
protocol |
|
) |
| |
◆ socket_lib_init()
◆ socketclose()
int socketclose |
( |
int |
sockfd | ) |
|
◆ socketlasterr()
int socketlasterr |
( |
void |
| ) |
|