Re: How to find my IPAddress
From: Phil Frisbie, Jr. (phil_at_hawksoft.com)
Date: 02/26/05
- Next message: Shawn Fessenden: "RPC_S_INVALID_BINDING in client"
- Previous message: The Other Roger: "Re: DHCP offers ignored"
- In reply to: Bishman: "How to find my IPAddress"
- Next in thread: Bishman: "Re: How to find my IPAddress"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 25 Feb 2005 16:06:11 -0800
Bishman wrote:
> Sorry if this question is tediously basic for this forum but I need to find
> the IP address for my local machine.
>
> I have sniffed around "getaddressbyname".
>
> It looks a bit long winded. Before I dive in is this the API I need ?
Use gethostname() followed by gethostbyname()
> Cheers.....
-- Phil Frisbie, Jr. Hawk Software http://www.hawksoft.com
- Next message: Shawn Fessenden: "RPC_S_INVALID_BINDING in client"
- Previous message: The Other Roger: "Re: DHCP offers ignored"
- In reply to: Bishman: "How to find my IPAddress"
- Next in thread: Bishman: "Re: How to find my IPAddress"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|