Libraryless. Click here for Pure Java version (45L/1K/2K).
1 | !636 |
2 | !modern |
3 | |
4 | main { |
5 | |
6 | psvm { |
7 | print("port 8888 yo"); |
8 | Socket s = new Socket("localhost", 8888); |
9 | InputStream in = s.getInputStream(); |
10 | stream(in); |
11 | } |
12 | |
13 | static void stream(InputStream in) ctex { |
14 | while (true) { |
15 | print(in.read()); |
16 | } |
17 | } |
18 | |
19 | } |
Began life as a copy of #1000765
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, jtubtzbbkimh, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1000766 |
Snippet name: | Telnet to localhost |
Eternal ID of this version: | #1000766/1 |
Text MD5: | a510050661cdee750b02390cf2f20426 |
Transpilation MD5: | f6eec50727209eb27f3d87d6a6993e1c |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2015-08-26 02:09:14 |
Source code size: | 283 bytes / 19 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 709 / 743 |
Referenced in: | [show references] |