File sockets.c


Included Files


Global Function sockets_inet_connect()

int sockets_inet_connect ( const char* hostname, int port )
Prototyped in: sockets.h
Calls: sockets_init_sockaddr() sockets.c
  close(), connect(), socket()
Called by: autoproc_open_connection() autoproc.c

Global Function sockets_inet_create()

int sockets_inet_create ( int port )
Prototyped in: sockets.h
Calls: log_error() log.c
  __errno_location(), bind(), htonl(), htons(), socket(), strerror()
Called by: server_open_sockets() server.c

Global Function sockets_unix_connect()

int sockets_unix_connect ( const char* filename, int opt )
Prototyped in: sockets.h
Calls: string_util_strncpy() string_util.c
  close(), connect(), fcntl(), socket(), strlen()
Called by: autoproc_open_connection() autoproc.c

Global Function sockets_unix_create()

int sockets_unix_create ( const char* filename )
Prototyped in: sockets.h
Calls: log_error() log.c
  string_util_strncpy() string_util.c
  __errno_location(), bind(), close(), socket(), strerror(), strlen()
Called by: server_create_unix_socket() server.c

Local Function __bswap_16()

static unsigned short int __bswap_16 ( unsigned short int __bsx )
Included from: /usr/include/bits/byteswap.h

Local Function __bswap_32()

static unsigned int __bswap_32 ( unsigned int __bsx )
Included from: /usr/include/bits/byteswap.h

Local Function sockets_init_sockaddr()

static int sockets_init_sockaddr ( struct sockaddr_in* name, const char* hostname, uint16_t port )
Calls: log_error() log.c
  gethostbyname(), htons()
Called by: sockets_inet_connect() sockets.c