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
Define pure virtual function?
Is c++ a good beginners programming language?
What is a dangling pointer in c++?
How is c++ different from java?
Which command properly allocates memory a) char *a=new char[20]; b) char a=new char[20]; c) char a=new char(20.0);
which of the following is not an secondary constant a) array b) real c) union
How a new operator differs from the operator new?
Is swift faster than c++?
Explain the difference between static and dynamic binding of functions?
Describe new operator and delete operator?
What is the difference between C and CPP?
How can you quickly find the number of elements stored in a dynamic array?
What is a syntax in c++?
If you don’t declare a return value, what type of return value is assumed?
the maximum length of a character constant can be a) 2 b) 1 c) 8