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

5
LINES

< > BotCompany Repo | #1006491 // otherPC - get IP of another PC running PC Awareness

JavaX fragment (include)

1  
static S otherPC() {
2  
  L<S> pcs = cast safeUnstructure(sendToLocalAwareness("list other pcs"));
3  
  if (empty(pcs)) fail("No other PCs known");
4  
  ret first(pcs);
5  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1006491
Snippet name: otherPC - get IP of another PC running PC Awareness
Eternal ID of this version: #1006491/1
Text MD5: 1c21967e54bffb8301290edbc8687f23
Author: stefan
Category: javax / networking
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-01-10 15:05:45
Source code size: 165 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 502 / 497
Referenced in: [show references]