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: | 610 / 836 |
Referenced in: | #1001332 - killPortAndWait #1002427 - Accellerating 629 (SPIKE) #1006654 - Standard functions list 2 (LIVE, continuation of #761) #3000382 - Answer for ferdie (>> t = 1, f = 0) |