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) |
int make_socket_port | ( | int | port | ) |
memset | ( | serverAddr | , |
0 | , | ||
sizeof * | serverAddr | ||
) |
return | ( | serverAddr | ) |
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) |