Date: Wed, 4 Jun 1997 09:10:08 -0400 (EDT) From: "Art S. Kagel" To: Michaelk Estrvm 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: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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