what are the raw sockets?

Answer Posted / harish

Raw mode is basically there to allow you to bypass some of
the way that your computer handles TCP/IP. Rather than going
through the normal layers of encapsulation/decapsulation
that the TCP/IP stack on the kernel does, you just pass the
packet to the application that needs it. No TCP/IP
processing -- so it's not a processed packet, it's a raw
packet. The application that's using the packet is now
responsible for stripping off the headers, analyzing the
packet, all the stuff that the TCP/IP stack in the kernel
normally does for you.

A raw socket is a socket that takes packets, bypasses the
normal TCP/IP processing, and sends them to the application
that wants them.

Unless you're a programmer, a kernel hacker, or really
really into security, you will most likely not need to deal
much with these. But it's good to know what they are, in
case you find yourself in one of the above scenarios.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do cryptography-based keys ensure the validity of data transferred across the network?

5716


What is count to infinity problem ?

1226


what are the two sub layers of data link layer called ?

1571


How to make a port to a dedicated port through dll registration in a windows system

1517


Write short note on any four of the following:

1180






Why TCP/IP reference model is more popular than OSI model ?

2603


What is the difference between IE 6 & 8?

1761


What are the basic functions of the data link layer?

1282


The physical layer service is a non-confirmed service. Assume that some bits of data are lost during transmission over physical media, which layer will detect the loss and take some remedial measures. Explain any one method clearly depicting how this operation is performed.

2128


Why transport layer protocols like TCP and UDP are called end-to-end protocols. What is the difference between them?

2670


What are the networking protocol options for the Windows clients if for some reason you do not want to use TCP or IP?

3501


What is the minimum and maximum length of the header in the TCP segment and IP datagram

712


What is attenuation

693


when I issue the "show ip route bgp" command, I see my routes being learned via ospf and bgp. How can I verify on the nx-os which one will always be used and which one is a backup?

710


Question What is datagram, datagram packets and datagram sockets?

1872