Functions | Variables
sockstd.c File Reference

Go to the source code of this file.

Functions

 main (int argc, argv)
int make_socket_port (int port)
 memset (serverAddr, 0, sizeof(*serverAddr))
 return (serverAddr)

Variables

serverAddr sin_addr s_addr = htonl(INADDR_ANY)
 serverAddr = (struct sockaddr_in *)malloc(sizeof(struct sockaddr_in))
serverAddr sin_family = AF_INET
serverAddr sin_port = htons(port_no)

Function Documentation

main ( int  argc,
argv   
)

Definition at line 71 of file sockstd.c.

int make_socket_port ( int  port)

Definition at line 50 of file sockstd.c.

memset ( serverAddr  ,
,
sizeof *  serverAddr 
)

Variable Documentation

serverAddr sin_addr s_addr = htonl(INADDR_ANY)

Definition at line 46 of file sockstd.c.

serverAddr = (struct sockaddr_in *)malloc(sizeof(struct sockaddr_in))

Definition at line 41 of file sockstd.c.

Definition at line 44 of file sockstd.c.

serverAddr sin_port = htons(port_no)

Definition at line 45 of file sockstd.c.



euslisp
Author(s): Toshihiro Matsui
autogenerated on Thu Mar 9 2017 04:57:51