What are raw sockets, where they are efficient?
Answer Posted / achal ubbott
Raw sockets are useful when you want to inject or capture
almost anything(without IP or TCP/UDP headers and the CRC)
on to the ethernet. They operate in Data Link Layer of
TCP/IP model.
Unix/Linux have been supporting them since ages. But
Windows have recentlly stopped their support, because of
security hazards. On windows OS you would have to use
Winpcap network driver library to play with these
sockets.It bypasses the OS's network stack.
cheers
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Explain what is class definition in c++ ?
Why is c++ not purely object oriented?
What is the difference between a definition and a declaration?
What is a character in c++?
What apps are written in c++?
Give 10 points of differences between C & C++.
What is a syntax in c++?
What character terminates all character array strings a) b) . c) END
Can we define a constructor as virtual in c++?
What is general format for a prototype?
What is an adjust field format flag?
Where and why do I have to put the "template" and "typename" keywords?
If you want to share several functions or variables in several files maitaining the consistency how would you share it?
Can you overload the operator+ for short integers?
What is operators in c++?