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
If dog is a friend of boy, and terrier derives from dog, is terrier a friend of boy?
Differentiate between realloc() and free().
Reverse the Linked List. Input: 1->2->3->4->5->NULL Output: 5->4->3->2->1->NULL
Why are pointers used?
What is Destructor in C++?
What are move semantics?
List the types of polymorphism in c++?
What are the benefits of oop in c++?
What is data structure in c++?
What is oop in c++?
What is the difference between strcpy() and strncpy()?
What are dynamic type checking?
what is oops and list its features in c++?
What's the order in which the objects in an array are destructed?
Why namespace is used in c++?