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