What are the different types of sockets?
Answer / Laeek Ahmad
The two main types of sockets in Linux Socket Programming are Stream Sockets (SOCK_STREAM) and Datagram Sockets (SOCK_DGRAM). Stream sockets provide a reliable, sequenced, and connection-based communication service, while datagram sockets offer an unreliable, unsequenced, and connectionless communication service.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the Advantages of TCP/IP?
What are Nameless Sockets?
What is socket file in linux?
How to Examin the Generic Socket Address?
How to Form Local Addresses?
What is the use of PF_INET or AF_INET?
How to Generate Addresses?
How socket is created?
What are the best linux system programming interview questions you've ever asked or been asked?
How to Write a UDP Datagram Client?
How to open socket file in linux?
What is the use of PF_INET and SOCK_DGRAM?