What are raw sockets?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What exactly is a socket?

526


Why do we need sockets?

485


How many socket connections can a server handle?

471


Can multiple sockets use the same port?

494


Is a socket a file?

477






Why does the sockets buffer fill up sooner than expected?

997


What's the difference between impact sockets and regular sockets?

476


How are unix domain sockets implemented?

494


How can I set the timeout for the connect() system call?

1112


Is tcp or unix socket faster?

494


How is a socket created?

509


What is the difference between read() and recv()?

1596


How many sockets can a cpu have?

501


What does af mean in sockets?

524


Why do I get EPROTO from read()?

1011