Question: The syntax to write a socket is socket (int pf, int type, int protocol). Write a command to create a socket for: a) TCP/IP protocol
The syntax to write a socket is socket (int pf, int type, int protocol). Write a command to create a socket for:
a) TCP/IP protocol and stream type.
b) UNIX file system and raw type
Step by Step Solution
There are 3 Steps involved in it
In order to create a socket with the specified protocols and types you can use the socket function i... View full answer
Get step-by-step solutions from verified subject matter experts
