What are raw sockets?
Answers were Sorted based on User's Feedback
Answer / william
A raw socket is a socket that allows access to packet
headers on incoming and outgoing packets. Raw sockets
always receive the packets with the packet header included
as opposed to non-raw sockets which strip the header and
only receive the packet payload.
| Is This Answer Correct ? | 30 Yes | 1 No |
Answer / atul sharma
Raw Sockets are independent of the transport layer and the
packet are being routed based on the destination IP
address.As this does not contain the Port related
information So on the destination machine any socket
listening can receive the IP or RAW packets.This has been
practically verified by Me.
| Is This Answer Correct ? | 5 Yes | 6 No |
How can I set the timeout for the connect() system call?
Can a socket have multiple ports?
What is the difference between SO_REUSEADDR and SO_REUSEPORT?
Why does it take so long to detect that the peer died?
How do I send [this] over a socket?
How can I write a multi-homed server?
What is socket address with example?
Where is the socket located?
How would I put my socket in non-blocking mode?
How do I get the port number for a given service?
What is a sae socket?
What is the difference between close() and shutdown()?