Re: How can a server know its own IP address
From: Bjorn Reese (breese_at_see.signature)
Date: 09/28/05
- Next message: Måns Rullgård: "Re: Executing Unix commands on a remote host using C"
- Previous message: Pascal Bourguignon: "Re: Executing Unix commands on a remote host using C"
- In reply to: au.faisal: "How can a server know its own IP address"
- Next in thread: David Schwartz: "Re: How can a server know its own IP address"
- Reply: David Schwartz: "Re: How can a server know its own IP address"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 28 Sep 2005 21:33:20 +0200
au.faisal wrote:
> I am a newbie in socket programming. Can anyone tell me how can a
> server know on which IP address it is running.
Use getsockname() once a connection has been established.
-- mail1dotstofanetdotdk
- Next message: Måns Rullgård: "Re: Executing Unix commands on a remote host using C"
- Previous message: Pascal Bourguignon: "Re: Executing Unix commands on a remote host using C"
- In reply to: au.faisal: "How can a server know its own IP address"
- Next in thread: David Schwartz: "Re: How can a server know its own IP address"
- Reply: David Schwartz: "Re: How can a server know its own IP address"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|