In a basic client program, which of the following UNIX system calls is used to create an endpoint for communication with a server program in C? Ranjitkumar Techlanda Unanswered No comments In a basic client program, which of the following UNIX system calls is used to create an endpoint for communication with a server program in C? socket() connect() fork() bind() EXPLANATION int sockfd; sockfd = socket(AF_INET, SOCK_STREAM, 0); SOURCE http://man7.org/linux/man-pages/man2/socket.2.html Share:
0 comments:
Post a Comment