Netchan_Init.
()
| 103 | * |
| 104 | */ |
| 105 | public static void Netchan_Init() { |
| 106 | |
| 107 | // pick a port value that should be nice and random |
| 108 | long port = Timer.Milliseconds() & 0xffff; |
| 109 | |
| 110 | showpackets = Cvar.getInstance().Get("showpackets", "0", 0); |
| 111 | showdrop = Cvar.getInstance().Get("showdrop", "0", 0); |
| 112 | qport = Cvar.getInstance().Get("qport", "" + port, Defines.CVAR_NOSET); |
| 113 | } |
| 114 | |
| 115 | /** |
| 116 | * Out Of Band |
no test coverage detected