In this program, the third argument of the socket() is used for _____ potocol. [code] #include<stdio.h> #include<sys/types.h>

In this program, the third argument of the socket() is used for _____ potocol.
Code:
   #include<stdio.h>
   #include<sys/types.h>
   #include<sys/socket.h>
   int main()
   {
       int fd_socket;
       if(socket(AF_UNIX,SOCK_STREAM,0) == -1)
           perror("socket");
       return 0;
   }
A. TCP/IP
B. UDP
C. both TCP/IP and UDP
D. none of mentioned
 

Tìm kiếm

Back
Top