telnetクライアント

1565 ワード

CSocketDx

CSocketDx class is used to establish TCP connection. It has 3 functions:
CSocketDx(char *,int);
~CSocketDx();
int Create();
int Connect();
SOCKET TelnetConnect();

CSocketRx

CSocketRx class is used to receive data. It has only one thread.
CSocketRx();
CSocketRx(SOCKET,HANDLE&);
virtual ~CSocketRx();
static DWORD RdTh(CSocketRx *);

CSocketTx

CSocketTx class is used to send data. It has only one thread.
CSocketTx(SOCKET,HANDLE&);
virtual ~CSocketTx();
static DWORD SendTh(CSocketTx*);

CProtocolRx

CProtocolRx class is used to implement the Telnet protocol.
inline void yesreply(SOCKET server, _verb verb,_option option);
inline void noreply(SOCKET server, _verb verb,_option option);
inline void askfor(SOCKET server, _verb verb,_option option);
void TelentProtcol(SOCKET server,unsigned char code);
telnet_src.zip (10 ) E O F 2 3 6 S U S P 2 3 7 ( )A B O RT 2 3 8 E O R 2 3 9 S E 2 4 0サブアセンブリ N O P 2 4 1 ,D M 2 4 2 B R K 2 4 4 4 4 4 I P 2 4 4 4 4 4 A O 2 4 5 AY T 2 4 6 ?EC 2 4 4 7 Escape E L 2 4 8 の りG A 2 4 9 SB 2 5 0サブマージの WIL 2 5 1サブマージ ( 2 6-9)WO N T 2 5 2 2 2 2サブマージ D O 2 5 3サブマージ D O N T 2 5 4サブマージ I A C 2 5 5 5 5 5 5 5デスクトップ2 5 WS 2_32.libライブラリ