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?

Answers were Sorted based on User's Feedback



What are raw sockets, where they are efficient?..

Answer / 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

What are raw sockets, where they are efficient?..

Answer / manjunath gn

Raw sockets are the sockets created at Data link layer.
They are useful in layer 2 communication

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More C++ General Interview Questions

Which recursive sorting technique always makes recursive calls to sort subarrays that are about half size of the original array?

0 Answers  


Show the declaration for a pointer to function returning long and taking an integer parameter.

0 Answers  


Differentiate between a copy constructor and an overloaded assignment operator.

0 Answers  


Find the second maximum in an array?

12 Answers   HCL,


How to reduce a final size of executable?

3 Answers  


What is exception handling? Does c++ support exception handling?

0 Answers  


What are the benefits of oop in c++?

0 Answers  


What do you mean by late binding?

0 Answers  


What does it mean to declare a destructor as static?

0 Answers  


What is the type of 'this' pointer?

0 Answers  


Differentiate between C and C++.

0 Answers   Wipro,


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

0 Answers  


Categories