For Programmers: Free Programming Magazines  


Home > Archive > Unix Programming > February 2007 > Re: Hai Can anyone give me idea to get the IP address of my camputer through a 'c' pr









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Hai Can anyone give me idea to get the IP address of my camputer through a 'c' pr
David Schwartz

2007-02-16, 8:08 am

On Feb 16, 2:06 am, "sunny" <kavuri.rajasek...@gmail.com> wrote:

> Anybody can give me idea how to get the ip address of my machine
> through a cprogram with out using the socket programming. Is there
> any
> system call to get the ip address of my machine that will be used in
> the c program to display the IP address of my machine.


The IP address of your machine is 127.0.0.1.

DS

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com