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

7
LINES

< > BotCompany Repo | #1001070 // sendKillSwitch

JavaX fragment (include)

static void sendKillSwitch(S ip, int port) {
  print("Sending kill switch to " + ip + ":" + port);
  Socket s = new Socket(ip, port);
  OutputStream out = s.getOutputStream();
  out.write("kill!\n".getBytes("UTF-8"));
  s.close();
}

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: #1001070
Snippet name: sendKillSwitch
Eternal ID of this version: #1001070/1
Text MD5: 08391e57dc98c77f006a322bce013969
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-09-19 18:05:43
Source code size: 238 bytes / 7 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 547 / 768
Referenced in: [show references]