Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

15
LINES

< > BotCompany Repo | #1000803 // Program with a hello message on server port

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Transpiled version (97L) is out of date.

!747
!x721 // thread {

m {
  static String helloString;
  static S programID; // filled by JavaX
  static int port; // use random port
  
  p {
    helloString = "Hello. This is #" + programID; // my hello string
    port = installHelloMessage(helloString);
    print("Hello world. Sleeping. Port=" + port);
    sleep();
  }
}

Author comment

installHelloMessage defined in #1000806

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: #1000803
Snippet name: Program with a hello message on server port
Eternal ID of this version: #1000803/1
Text MD5: 9ef3e81095cadb98562d16a8b398e405
Author: stefan
Category:
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-08-28 21:12:10
Source code size: 341 bytes / 15 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 621 / 607
Referenced in: [show references]