Libraryless. Click here for Pure Java version (39L/1K/2K).
1 | !747 |
2 | |
3 | m { |
4 | static int port = 1234; |
5 | |
6 | p { |
7 | print("Helloing " + port); |
8 | Socket s = new Socket("localhost", port); |
9 | OutputStream out = s.getOutputStream(); |
10 | out.write("hello!\n".getBytes("UTF-8")); |
11 | s.close(); |
12 | print("Done!"); |
13 | } |
14 | } |
Began life as a copy of #1000777
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1000780 |
Snippet name: | Send "hello!" to program |
Eternal ID of this version: | #1000780/1 |
Text MD5: | 70c1c55e86cd67dcd164a98be0b83750 |
Transpilation MD5: | 28475b0b704ff32a8ee2cbb24e862bb3 |
Author: | stefan |
Category: | |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2015-08-27 01:43:15 |
Source code size: | 264 bytes / 14 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 588 / 636 |
Referenced in: | [show references] |