sources/main.cpp

changeset 24
e651d02802c0
parent 17
50341dec533e
child 27
089e37c0887e
equal deleted inserted replaced
23:f7221183a994 24:e651d02802c0
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;

mercurial