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
In the derived class, which data member of the base class are visible?
State the difference between pre and post increment/decrement operations.
What is a block in c++?
Function can be overloaded based on the parameter which is a value or a reference. Explain if the statement is true.
What is the difference between struct and class?
What are the advantages of using const reference arguments in a function?
Which is best ide for c++?
What is the advantage of c++ over c?
Do you know about C++ 11 standard?
Can there be at least some solution to determine the number of arguments passed to a variable argument list function?
Explain stack unwinding.
What are the general quetions are in DEna bank manager IT/System interviews?
Is java made in c++?
What are the three forms of cin.get() and what are their differences?
How to access a variable of the structure?