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

Can you declare an array without a size in c++?

0 Answers  


Why is it called c++?

0 Answers  


Can c++ be faster than c?

0 Answers  


Will rust take over c++?

0 Answers  


What is difference between shallow copy and deep copy? Which is default?

1 Answers  


what is data abstraction in C++?

0 Answers  


Inline parameters : What does the compiler do with the parameters of inline function, that can be evaluated in runtime ?

0 Answers  


What is the purpose of the noexcept keyword?

1 Answers  


What is a friend function in c++?

2 Answers  


What is c++ mutable?

0 Answers  


Do we have private destructors?

12 Answers   Symphony, TCS,


what is the difference between overloading & overriding? give example.

0 Answers  


Categories