Uses 115K of libraries. Click here for Pure Java version (8786L/60K).
!7 sclass ConnectToServer extends DynBigNumber { void start { super.start(); thread "Connect" { set webSocketOnMessage_withIdler_verbose; ownTimer(webSocketOnMessage_withIdler(webSocketButterBot(#1016453) + "/" + computerID(), voidfunc(S s) { print("Have msg: " + s); if (isInteger(s)) setValue(s); }, 30.0, ""), voidfunc(WebSocketClient ws) { ws.close() }); //print("Owned closer: " + closer + " in " + dm_current()); } } }
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1016455 |
Snippet name: | Connect To Server [Web Socket version, Dyn Module] |
Eternal ID of this version: | #1016455/11 |
Text MD5: | efe08bad7c5de1c78c912dec9a76ca35 |
Transpilation MD5: | b088d6ad00d67a5c8d82e56b01a93fc6 |
Author: | stefan |
Category: | javax / stefan's os |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-06-24 01:05:20 |
Source code size: | 495 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 532 / 10417 |
Version history: | 10 change(s) |
Referenced in: | #1016551 - Connect To Server [Long Poll Version, Dyn Module] #1016576 - Connect To Server [socket version, Dyn Module] |