DoSubOption Property

A Telnet SubOption to send to the server with the SubOption command.

Syntax

ANSI (Cross Platform)
int SetDoSubOption(const char* lpDoSubOption, int lenDoSubOption);

Unicode (Windows)
INT SetDoSubOption(LPCSTR lpDoSubOption, INT lenDoSubOption);
@property (nonatomic,readwrite,assign,getter=doSubOption,setter=setDoSubOption:) NSString* doSubOption;
- (NSString*)doSubOption;
- (void)setDoSubOption:(NSString*)newDoSubOption;

@property (nonatomic,readwrite,assign,getter=doSubOptionB,setter=setDoSubOptionB:) NSData* doSubOptionB; - (NSData*)doSubOptionB; - (void)setDoSubOptionB:(NSData*)newDoSubOption;
#define PID_TELNET_DOSUBOPTION 8


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

Default Value

""

Remarks

For a list of valid Telnet suboptions and their descriptions please look at the Telnet RFCs.

You don't need to specify the suboption start and suboption end codes. Those are appended automatically by the class. For example, to send a terminal type suboption to request setting the terminal type to 'vt100', you must send ASCII 24, followed by ASCII 0, followed by "vt100" (without the quotes).

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

Data Type

Binary String

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