[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: How can I know IP ?
On Tue, Nov 14, 2000 at 10:50:18PM +0530, Vikas Panchal wrote:
> How to get the IP Address of my Machine (using c) and how can I come to know
> it from shell. How to go online using LINUX. and when I send email using
> VSNL SMTP Server (througn C program) it only recognize full email address of
> VSNL only (like sharukh@xxxxxxxxxxxxxxxxxxxx) and not any Hotmail.com
> address as recpient.
$ ifconfig -a
Look at the source of ifconfig to do it programmatically.