19 // create a telnet instance
21 // open a connection return on break/quit
22 Telnet(const char * szHost1
, const char *strPort1
);
25 // open a connection return on break/quit
26 int Open(const char *szHost
, const char *strPort
= "23");
27 int Close(); // close current connection
28 int Resume(); // resume current session
30 // changes to the keymap profile in the file
31 int LoadKeyMap( const char * file
, const char * name
);
32 void DisplayKeyMap(); // display available keymaps
33 int SwitchKeyMap(int); // switch to selected keymap
36 void telSetConsoleTitle(const char * szHost
);
40 char strPort
[32]; // int iPort;
42 volatile int bConnected
;
43 volatile int bWinsockUp
;
44 volatile int bNetPaused
;
45 volatile int bNetFinished
;
46 volatile int bNetFinish
;
48 // The order of member classes in the class definition MUST come in
49 // this order! (Paul Brannan 12/4/98)
52 KeyTranslator KeyTrans
;
55 TTelnetHandler TelHandler
;
56 TelThreadParams ThreadParams
;
62 HWND hConsoleWindow
; // Paul Brannan 8/10/98
63 LPARAM oldBIcon
, oldSIcon
; // Paul Brannan 8/10/98
66 HANDLE hThread
; // Paul Brannan 8/11/98
67 HANDLE hProcess
; // Paul Brannan 7/15/99
69 void NewProcess(); // Paul Brannan 9/13/98
70 void SetLocalAddress(SOCKET s
);