delorie.com/archives/browse.cgi | search |
Date: | Wed, 4 Jun 1997 09:10:08 -0400 (EDT) |
From: | "Art S. Kagel" <kagel AT ns1 DOT bloomberg DOT com> |
To: | Michaelk Estrvm <michael DOT astrom AT erm DOT ericsson DOT se> |
Cc: | djgpp AT delorie DOT com |
Subject: | Re: TCP/IP, what is my IP address? |
In-Reply-To: | <33944609.EA4@erm.ericsson.se> |
Message-Id: | <Pine.D-G.3.91.970604090832.9943F-100000@dg1> |
Mime-Version: | 1.0 |
On Tue, 3 Jun 1997, Michaelk Estrvm wrote: > Is there an easy way to figure out my TCP/IP adress? Could somebody post > a simple program in source code format. > On UNIX I would call the hostname() function to find my host name and then call gethostbyname() to get the address of that host. Your TCP/IP library must have equivalent functions. Art S. Kagel, kagel AT bloomberg DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |