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

Differentiate between static and dynamic channel allocation.

2510


We can use Office Communication server instead of any dialer?

2646


If the transmitted code word is 10011000 and the received code word is 11001001. What is the error word ? Write transmitted code word , received code word and error word as polynomials.

2730


What is traffic shaping

935


what is colour port? what is the use with it?

1849






What is virtual path

884


Explain any three error detection and correction techniques.

1479


Explain Token ring

1296


what is the command to check how many port numbers are running with their specific protocols in linux pc

1949


Which layer is used to route packets

1483


In which of the 7 layers of OSI will a service handling conversion of characters is from EBCDIC to ASCII be normally implemented ?

1372


Explain the advantage and disadvantage of ethernet ?

2222


Write short note on any four of the following:

1351


hi , can you Suggest me the books (with author names) to learn Network programming from basics. Thanks in Advance... Prakash

1613


What is multicast routing

876