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

9
LINES

< > BotCompany Repo | #1000932 // waitForChatServer

JavaX fragment (include)

static void waitForChatServer() {
  if (!portIsBound(9751)) {
    System.out.print("Waiting for chat server... ");
    do {
      sleep(1000);
    } while (!portIsBound(9751));
    print("OK.");
  }
}

Author comment

Began life as a copy of #1000929

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1000932
Snippet name: waitForChatServer
Eternal ID of this version: #1000932/1
Text MD5: f4a5d068c475b0871ba1296198cf1b5f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-09-11 19:33:33
Source code size: 208 bytes / 9 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 541 / 828
Referenced in: [show references]