IP address

This is a discussion on IP address within the C Programming forums, part of the General Programming Boards category; hello guys,
pls...pls...and pls help me to get the IP number of a PC.
its very necessary for me to ...

IP address

hello guys,

pls...pls...and pls help me to get the IP number of a PC.
its very necessary for me to detect it, but i don't know the procedure.
i want to detect any computer's (it can be under network connection or a stand alone PC) IP address.
pls help me.

am using Turbo C editor and its compiler.
my OS is Windows 98,2000 and NT.

fordy and others, am using Turbo C and its compiler and i have not any desire of using any win compiler.

Your choice, but as you are programming on the windows platform and you want a service that could so easily be provided by the winsock API you may be making life hard for yourself......and as you can get DevC++ for free....there's no cost implementation