fehQlibs 26
Qlibs
|
binding a socket to a local resource 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_bind4 (int s, const char ip[4], uint16 port) |
int | socket_bind4_reuse (int s, const char ip[4], uint16 port) |
void | socket_tryreservein (int s, int size) |
int | socket_bind6 (int s, const char ip[16], uint16 port, uint32 scope_id) |
int | socket_bind6_reuse (int s, const char ip[16], uint16 port, uint32 scope_id) |
int | socket_bind (int s, const char ip[16], uint16 port, uint32 scope_id) |
int | socket_bind_reuse (int s, const char ip[16], uint16 port, uint32 scope_id) |
binding a socket to a local resource
Definition in file socket_bind.c.
int socket_bind4 | ( | int | s, |
const char | ip[4], | ||
uint16 | port | ||
) |
Definition at line 16 of file socket_bind.c.
int socket_bind4_reuse | ( | int | s, |
const char | ip[4], | ||
uint16 | port | ||
) |
Definition at line 28 of file socket_bind.c.
Definition at line 44 of file socket_bind.c.
Definition at line 58 of file socket_bind.c.
void socket_tryreservein | ( | int | s, |
int | size | ||
) |
Definition at line 36 of file socket_bind.c.