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
Are there interfaces in c++?
What is c strings syntax?
What are the differences between the function prototype and the function defi-nition?
List down the guideline that should be followed while using friend function.
Differentiate between a copy constructor and an overloaded assignment operator.
Explain what is class definition in c++ ?
What are the advantage of using register variables?
What is the function of I/O library in C++ ?
What is set in c++?
Differentiate between late binding and early binding.
What is the use of endl?
What information can an exception contain?
What are iterators in c++?
what is a class? Explain with an example.
Can we use this pointer inside static member function?