ExamVeda
Login
Home
This question belongs to Computer Science Linux
Linux
?

In this program, the third argument of the socket() is used for . . . . . . . . potocol.
#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;
}

Answer & Solution
Correct Answer: Option A
Let's discuss the solution. Join the discussion
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.