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 many socket connections can a server handle?
Is there any advantage to handling the signal, rather than just ignoring it and checking for the EPIPE error? Are there any useful parameters passed to the signal catching function?
What's the difference between a socket and a port?
What is the difference between a socket and a port?
If bind() fails, what should I do with the socket descriptor?
How can I write a multi-homed server?
How do I properly close a socket?
What exactly does SO_KEEPALIVE do?
What is a socket api?
What is a deep well socket?
Why does the sockets buffer fill up sooner than expected?
How to find other end of unix socket connection?