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 |
When should I use shutdown()?
What is socket address?
Explain the TIME_WAIT state.
What is the function of socket?
What are raw sockets?
Is a socket a file?
How do Sockets Work?
How would I put my socket in non-blocking mode?
How come select says there is data, but read returns zero?
How can I force a socket to send the data in its buffer?
How can my client work through a firewall/proxy server?
How do I get my server to find out the clients address / host- name?