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

when can we use virtual destructor?

7 Answers   HCL, HP, Virage Logic,


Can circle be called an ellipse?

0 Answers  


What is flush () in c++?

0 Answers  


Does std endl flush?

0 Answers  


What is the difference between the functions memmove() and memcpy()?

0 Answers  


What are the different data types present in C++?

4 Answers  


What is the use of 'using' declaration in c++?

0 Answers  


What is the difference between shallow copy and deep copy?

1 Answers  


Can we remove an element in a single linked list without traversing? Lets suppose the link list is like this 1 2 3 4 5 6 We need to remove 4 from this list (without traversing from beginning) and the final link list shud be 1 2 3 5 6 only thing we know is the pointer to element "4". How can we remove "4" and link "3" to "5"?

6 Answers   CSC,


What is the sequence of destruction of local objects?

0 Answers  


Perform addition, multiplication, subtraction of 2-D array using Operator Overloading.

0 Answers   Nucleus, TCS,


What is the use of vtable?

0 Answers  


Categories