[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

[Re:] How can I know IP ?

hi vikas,
	i've attached a c program that does what you want. it also 
gives you the hostname of your system. use it as you like...


On Tue, 14 Nov 2000 22:50:18 +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 
>address as recpient.
>AILU Registered Linux user #  154544
>Vikas Panchal
>Deptt. of Computer Science, MDU
>Rohtak-124001 Haryana
>The mailing list archives are available at

Global Internet phone calls, voicemail, fax, e-mail and instant messaging.
Sign-up today for FREE account at http://www.hotvoice.com

Attachment: ipaddr.c
Description: Binary data