Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Sun, 05 Jun 2011 13:43:16 -0500 From: Pete Becker Organization: Roundhouse Consulting, Ltd. Newsgroups: comp.lang.c++ Date: Sun, 5 Jun 2011 08:43:16 -1000 Message-ID: <2011060508431677464-pete@versatilecodingcom> References: <81QGp.739$NX1.264@newsfe18.ams2> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: Getting the subnet subnet of an IP address in C++ User-Agent: Unison/2.1.4 Lines: 22 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-HGI5O6c9LUgFc2zrtJgPOAxa/y+yyPptCngkW+ltD0o3ortYFgFSKp5F1/6JQUIDJ5RStujpXg2M29C!iWxszGLj85qVvgLgjuKLaXH67dxdH9F4YHATJj7r6zWYo/KTyEGWQOWl+ag3PO2OshiQDgE= X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 1912 Xref: x330-a1.tempe.blueboxinc.net comp.lang.c++:6249 On 2011-06-05 08:36:48 -1000, Paul said: > "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? >> > I doesn't thinks there ares any reasonableness addresses for this. > These best ways forwards are to gathers all the possibles masks and > rerouters them to an appropriates mistakes and hence gains advancedness > awareness for the technicalities. plonk -- Pete Roundhouse Consulting, Ltd. (www.versatilecoding.com) Author of "The Standard C++ Library Extensions: a Tutorial and Reference (www.petebecker.com/tr1book)