fehQlibs 26
Qlibs
|
setup listening socket More...
#include <sys/types.h>
#include <sys/param.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include "byte.h"
#include "socket_if.h"
#include "ip.h"
Go to the source code of this file.
Functions | |
int | socket_accept (int s, char ip[16], uint16 *port, uint32 *scope_id) |
int | socket_accept4 (int s, char ip[4], uint16 *port) |
int | socket_listen (int s, int backlog) |
int | socket_ipoptionskill (int s) |
int | socket_ip6anycast (int s) |
int | socket_dualstack (int s) |
int | socket_nodualstack (int s) |
setup listening socket
Definition in file socket_setup.c.
int socket_accept4 | ( | int | s, |
char | ip[4], | ||
uint16 * | port | ||
) |
int socket_dualstack | ( | int | s | ) |
Definition at line 87 of file socket_setup.c.
int socket_ip6anycast | ( | int | s | ) |
Definition at line 70 of file socket_setup.c.
int socket_ipoptionskill | ( | int | s | ) |
Definition at line 60 of file socket_setup.c.
int socket_listen | ( | int | s, |
int | backlog | ||
) |
Definition at line 55 of file socket_setup.c.
int socket_nodualstack | ( | int | s | ) |
Definition at line 94 of file socket_setup.c.