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

5
LINES

< > BotCompany Repo | #1013085 // smartBotIP - null if unknown

JavaX fragment (include)

static S smartBotIP() null on exception {
  URL url = new URL(smartBotURL());
  S host = url.getHost();
  ret isIPv4(host) ? host : null;
}

Author comment

Began life as a copy of #1011531

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1013085
Snippet name: smartBotIP - null if unknown
Eternal ID of this version: #1013085/3
Text MD5: acc9192a8ca6ecf26ef4bbbdbe183fab
Author: stefan
Category: javax / smart bot
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-25 00:43:10
Source code size: 143 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 380 / 425
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)