Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Are there interfaces in c++?

929


What is c strings syntax?

1074


What are the differences between the function prototype and the function defi-nition?

1039


List down the guideline that should be followed while using friend function.

1003


Differentiate between a copy constructor and an overloaded assignment operator.

1015


Explain what is class definition in c++ ?

1046


What are the advantage of using register variables?

1110


What is the function of I/O library in C++ ?

1114


What is set in c++?

1061


Differentiate between late binding and early binding.

1195


What is the use of endl?

917


What information can an exception contain?

1093


What are iterators in c++?

960


what is a class? Explain with an example.

1096


Can we use this pointer inside static member function?

1018