| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Message-ID: | <20020921170656.37219.qmail@web21008.mail.yahoo.com> |
| Date: | Sat, 21 Sep 2002 10:06:56 -0700 (PDT) |
| From: | Nicholas Wourms <nwourms AT yahoo DOT com> |
| Subject: | Re: Getting MAC address within C/C++-program in Windows2000 |
| To: | Alex Vinokur <alexvn AT come DOT to>, Cygwin Mailing List <cygwin AT cygwin DOT com> |
| In-Reply-To: | <007701c25f97$469140a0$cf7b96d4@5at8s8cqeex4qhi> |
| MIME-Version: | 1.0 |
Wouldn't this be worth adding to the cygwin library? Just a thought, because glibc has similar capabilities... Cheers, Nicholas --- Alex Vinokur <alexvn AT come DOT to> wrote: > ----- Original Message ----- > From: "Corinna Vinschen" <corinna-cygwin AT cygwin DOT com> > Newsgroups: gmane.os.cygwin > Sent: Wednesday, September 11, 2002 7:01 PM > Subject: Re: Getting MAC address within C/C++-program in > Windows2000 > http://sources.redhat.com/ml/cygwin/2002-09/msg00531.html > > > On Wed, Sep 11, 2002 at 07:40:50PM +0200, Alex Vinokur wrote: > > > ################### > > > Windows 2000 > > > CYGWIN_NT-5 > > > ################### > > > > > > Is it possible to get MAC address within C/C++-program ? > > > > ioctl(SIOCGIFHWADDR, ...) as on POSIX systems. > > > [snip] > > Thanks. It works OK in Cygwin. > > See > 1. Floyd Davidson's program (UNIX): > http://groups.google.com/groups?selm=87ofbox7xn.fld%40barrow.com > > 2. C++ Wrapper around the Floyd Davidson's program (Cygwin on > Windows 2000): > http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=4798&lngWId=3 > http://groups.google.com/groups?selm=ama8q9%2441lfs%241%40ID-79865.news.dfncis.de > > > ================== > Alex Vinokur > mailto:alexvn AT go DOT to > http://up.to/alexvn > ================== > > > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Bug reporting: http://cygwin.com/bugs.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |