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


Please Help Members By Posting Answers For Below Questions

What is the full name of logo?

582


how to access grid view row?

1812


Is oops and c++ same?

576


What is a singleton class c++?

540


Is it possible for a member function to use delete this?

562






what are the iterator and generic algorithms.

1685


Explain how functions are classified in C++ ?

802


Give 10 points of differences between C & C++.

619


Describe delete operator?

619


Is c++ the hardest programming language?

634


what is the difference between linear list linked representaion and linked representation? what is the purpose of representing the linear list in linked represention ? is it not avoiding rules of linear represention?

1746


What are c++ stream classes?

551


What does override mean in c++?

577


What is #include math h in c++?

570


How many static variables are created if you put one static member into a template class definition?

565