41 main (int argc, char* argv[]) -> int |
41 main (int argc, char* argv[]) -> int |
42 { |
42 { |
43 HUFFMAN_Construct(); |
43 HUFFMAN_Construct(); |
44 Interface::initialize(); |
44 Interface::initialize(); |
45 |
45 |
46 new RCONSession; |
|
47 RCONSession::get_session()->set_password ("testpassword"); |
|
48 RCONSession::get_session()->connect (IPAddress (localhost, 10666)); |
|
49 |
|
50 for (;;) |
46 for (;;) |
51 { |
47 { |
52 fd_set fdset; |
48 fd_set fdset; |
53 int highest = 0; |
49 int highest = 0; |
54 timeval timeout; |
50 timeval timeout; |