Re: How can a server know its own IP address
From: Ravi Uday (raviuday_at_gmail.com)
Date: 09/28/05
- Previous message: au.faisal: "How can a server know its own IP address"
- In reply to: au.faisal: "How can a server know its own IP address"
- Next in thread: Pascal Bourguignon: "Re: How can a server know its own IP address"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 28 Sep 2005 14:50:26 +0530
au.faisal wrote:
> Hi guys
>
> I am a newbie in socket programming. Can anyone tell me how can a
> server know on which IP address it is running.
>
> To make it suppose a webserver is running on computer which has the IP
> address 131.100.0.1. How can the webserver get this IP server without
> hardcoding.
>
man gethostbyname
> is there any function for that?
>
> Thanks
> Faisal
>
- Previous message: au.faisal: "How can a server know its own IP address"
- In reply to: au.faisal: "How can a server know its own IP address"
- Next in thread: Pascal Bourguignon: "Re: How can a server know its own IP address"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|