Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #6261

Re: Getting the subnet subnet of an IP address in C++

From "Fred Zwarts \(KVI\)" <F.Zwarts@KVI.nl>
Newsgroups comp.lang.c++
Subject Re: Getting the subnet subnet of an IP address in C++
Date 2011-06-06 09:12 +0200
Organization albasani.net
Message-ID <ishukr$1js$1@news.albasani.net> (permalink)
References <b22f692f-92c4-4d2e-9de1-0252d56ef9a6@e35g2000yqc.googlegroups.com>

Show all headers | View raw


"yagru_alvarez"  wrote in message 
news:b22f692f-92c4-4d2e-9de1-0252d56ef9a6@e35g2000yqc.googlegroups.com...

>There is any way to obtain for an IP address that I have to pass as
>parameter the value of the subnet?

Please define "the subnet".
For IPv6 the local network is defined by the upper 64 bits.
For IPv4 there are no such simple rules.

Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Getting the subnet subnet of an IP address in C++ yagru_alvarez <jmalvarez@estudiantes.uci.cu> - 2011-06-04 06:52 -0700
  Re: Getting the subnet subnet of an IP address in C++ Ben Cottrell <email@address.invalid> - 2011-06-05 13:08 +0100
  Re: Getting the subnet subnet of an IP address in C++ "Paul" <pchristor@yahoo.co.uk> - 2011-06-05 19:36 +0100
    Re: Getting the subnet subnet of an IP address in C++ Pete Becker <pete@versatilecoding.com> - 2011-06-05 08:43 -1000
      Re: Getting the subnet subnet of an IP address in C++ "Paul" <pchristor@yahoo.co.uk> - 2011-06-05 22:50 +0100
    Re: Getting the subnet subnet of an IP address in C++ Joshua Maurice <joshuamaurice@gmail.com> - 2011-06-05 15:13 -0700
      Re: Getting the subnet subnet of an IP address in C++ "Paul" <pchristor@yahoo.co.uk> - 2011-06-05 23:29 +0100
  Re: Getting the subnet subnet of an IP address in C++ "Fred Zwarts \(KVI\)" <F.Zwarts@KVI.nl> - 2011-06-06 09:12 +0200
  Re: Getting the subnet subnet of an IP address in C++ Michael Doubez <michael.doubez@free.fr> - 2011-06-06 02:39 -0700

csiph-web