June 13th, 1999, 07:39 AM
How can I get the local station IP address ?
|
Click to See Complete Forum and Search --> : Getting local IP address June 13th, 1999, 07:39 AM How can I get the local station IP address ? unicman June 13th, 1999, 09:44 AM U can try 'InetAddress.getLocalHost()'. Or if u have reference of 'ServerSocket', 'objServerSocket.getInetAddress()'. Or if u have reference of 'Socket', 'objSocket.getLocalAddress()'. - UnicMan http://members.tripod.com/unicman June 19th, 1999, 02:29 AM hi if you just want to know the local IP address then do this in windows go to start----> run---->type winipcfg then a window will pop up you can find the local IP address if using socket then use this function getLocalAddress() it will return localIP address codeguru.com
Copyright WebMediaBrands Inc., All Rights Reserved. |