Libraryless. Click here for Pure Java version (39L/1K/2K).
!747 m { static int port = 1234; p { print("Helloing " + port); Socket s = new Socket("localhost", port); OutputStream out = s.getOutputStream(); out.write("hello!\n".getBytes("UTF-8")); s.close(); print("Done!"); } }
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: | 589 / 638 |
Referenced in: | #3000382 - Answer for ferdie (>> t = 1, f = 0) #3000383 - Answer for funkoverflow (>> t=1, f=0 okay) |