Command Property

A single character Telnet command code to be sent to the server.

Syntax

ANSI (Cross Platform)
int SetCommand(int iCommand);

Unicode (Windows)
INT SetCommand(INT iCommand);
@property (nonatomic,readwrite,assign,getter=command,setter=setCommand:) int command;
- (int)command;
- (void)setCommand:(int)newCommand;
#define PID_TELNET_COMMAND 3


IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_Telnet_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

0

Remarks

Codes for Telnet commands and their meanings are defined in the Telnet RFCs. Here are some examples:

241 (NOP)No operation.
242 (Data Mark)The data stream portion of a Synch. This should always be accompanied by a TCP Urgent notification.
243 (Break)NVT character BRK.
244 (Interrupt Process)The function IP.
245 (Abort Output)The function AO.
246 (Are You There)The function AYT.
247 (Erase Character)The function EC.
248 (Erase Line)The function EL.
249 (Go Ahead)The GA signal.

This property is write-only and not available at design time.

Data Type

Integer

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 C++ Edition - Version 20.0 [Build 8161]