ucspi-ssl  0.99e
TLS encryption for IPv6 communication
Functions
socket_bind.c File Reference
#include <sys/types.h>
#include <sys/param.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include "byte.h"
#include "socket.h"
Include dependency graph for socket_bind.c:

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, char ip[4], uint16 port)
 
void socket_tryreservein (int s, int size)
 

Function Documentation

◆ socket_bind4()

int socket_bind4 ( int  s,
const char  ip[4],
uint16  port 
)

Definition at line 8 of file socket_bind.c.

◆ socket_bind4_reuse()

int socket_bind4_reuse ( int  s,
char  ip[4],
uint16  port 
)

Definition at line 20 of file socket_bind.c.

◆ socket_tryreservein()

void socket_tryreservein ( int  s,
int  size 
)

Definition at line 27 of file socket_bind.c.