Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

3
LINES

< > BotCompany Repo | #1002607 // myBestIP - return IP best suited for giving to anyone (probably a public one)

JavaX fragment (include)

static S myBestIP() {
  ret first(getMyIPs());
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1002607
Snippet name: myBestIP - return IP best suited for giving to anyone (probably a public one)
Eternal ID of this version: #1002607/1
Text MD5: 4e68cee7c6676a5eabe7ff660c29874f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-02-05 03:37:32
Source code size: 50 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 699 / 685
Referenced in: #1004894 - getMyIP - synonym of myBestIP
#1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1032106 - myLocalIPs - return only local IPs
#3000382 - Answer for ferdie (>> t = 1, f = 0)