I think It depends on the IP version you willbe using. If it is IPv4 then it is: struct in_addr and struct sockaddr_in
If it is IPv6 then it is: struct in6_addr and struct sockaddr_in6 Also there is a struct sockaddr_storage for generic storage and interconversion of IP address' if you don't know which version it is. On Tue, Sep 6, 2011 at 1:51 PM, sagar pareek <sagarpar...@gmail.com> wrote: > @ r_shetty > > search > 1. struct in_addr > 2. struct sockaddr_in > > > On Mon, Sep 5, 2011 at 10:04 PM, teja bala <pawanjalsa.t...@gmail.com>wrote: > >> resource records which is a 5 >> tuple(domain_name,type,value,class,time_to_live) is returned to respective >> browser request when a resolver gets called.. >> >> >> On Mon, Sep 5, 2011 at 9:46 PM, rShetty <rajeevr...@gmail.com> wrote: >> >>> Which is the data Structure used to store the IP addresses in a >>> network ? >>> Please Elaborate? >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Algorithm Geeks" group. >>> To post to this group, send email to algogeeks@googlegroups.com. >>> To unsubscribe from this group, send email to >>> algogeeks+unsubscr...@googlegroups.com. >>> For more options, visit this group at >>> http://groups.google.com/group/algogeeks?hl=en. >>> >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "Algorithm Geeks" group. >> To post to this group, send email to algogeeks@googlegroups.com. >> To unsubscribe from this group, send email to >> algogeeks+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/algogeeks?hl=en. >> > > > > -- > **Regards > SAGAR PAREEK > COMPUTER SCIENCE AND ENGINEERING > NIT ALLAHABAD > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to algogeeks@googlegroups.com. > To unsubscribe from this group, send email to > algogeeks+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- Anup Ghatage -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.