1 | static void waitForChatServer() { |
2 | if (!portIsBound(9751)) { |
3 | System.out.print("Waiting for chat server... "); |
4 | do { |
5 | sleep(1000); |
6 | } while (!portIsBound(9751)); |
7 | print("OK."); |
8 | } |
9 | } |
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: | 609 / 906 |
Referenced in: | [show references] |