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

Explain Traffic shaping using token bucket algorithm

1094


What is sliding window protocol ?

1324


What is region

725


Explain CSMA/CD

1084


what is buffering and flooding in NIC ?

2032






1. What is LAN segmentation? Why it is used? What are the different techniques to create LAN segments?

2221


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

710


What is the difference between IE 6 & 8?

1759


what happens when two consigitive ports of switch are connacted using one cross cabel with each other?(how the whole network gets down)

2381


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.

2464


What is autonomous system

746


Why do data link layer protocols position the checksum in the trailer and not in the header ?

1861


What is silly window syndrome

766


How to communicate between difference process?

1720


What are the two reasons for using layered protocols?

3408