Vidyalelo
Computer Science · Q858

Linux

Engineering and GATE · Computer Science · question 858

Q858

In this program, the third argument of the socket() is used for . . . . . . . . potocol. #include #include #include int main() int fd_socket; if(socket(AF_UNIX,SOCK_STREAM,0) == -1) perror("socket"); return 0;

A.
TCP/IP
Answer
B.
UDP
C.
both TCP/IP and UDP
D.
none of mentioned

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board