fehQlibs 26
Qlibs
Loading...
Searching...
No Matches
Macros | Functions
socket_tcp.c File Reference

setup TCP stream socket More...

#include <sys/types.h>
#include <sys/param.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <errno.h>
#include "close.h"
#include "ndelay.h"
#include "socket_if.h"
#include "error.h"
Include dependency graph for socket_tcp.c:

Go to the source code of this file.

Macros

#define EAFNOSUPPORT   EINVAL
 

Functions

int socket_tcp4 (void)
 
int socket_tcp6 (void)
 
int socket_tcp (void)
 
int socket_tcpnodelay (int s)
 

Detailed Description

setup TCP stream socket

Authors
djb, fefe, feh ucspi-tcp6

Definition in file socket_tcp.c.

Macro Definition Documentation

◆ EAFNOSUPPORT

#define EAFNOSUPPORT   EINVAL

Definition at line 12 of file socket_tcp.c.

Function Documentation

◆ socket_tcp()

int socket_tcp ( void  )

Definition at line 44 of file socket_tcp.c.

Here is the call graph for this function:

◆ socket_tcp4()

int socket_tcp4 ( void  )

Definition at line 22 of file socket_tcp.c.

Here is the call graph for this function:

◆ socket_tcp6()

int socket_tcp6 ( void  )

Definition at line 33 of file socket_tcp.c.

Here is the call graph for this function:

◆ socket_tcpnodelay()

int socket_tcpnodelay ( int  s)

Definition at line 59 of file socket_tcp.c.