• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to get the localhost IP address  RSS feed

 
Sarone Thach
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi could someone tell me what function on package to use to programmitically get my localhost as an IP address?
Namely on the Mac.
I'm using JKD 1.4.2_03
 
Stefan Wagner
Ranch Hand
Posts: 1923
Linux Postgres Database Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need no programatic way to find it out.
It's 127.0.0.1 by convention.
 
James Swan
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
or to get the actual IP address
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to Sockets and Internet Protocols for any further discussion.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!