Protocol Property

Sets the protocol to use for the transfer.

Syntax

ANSI (Cross Platform)
int GetProtocol();
int SetProtocol(int iProtocol); Unicode (Windows) INT GetProtocol();
INT SetProtocol(INT iProtocol);

Possible Values

PROT_REXEC(0), 
PROT_RSHELL(1)
@property (nonatomic,readwrite,assign,getter=protocol,setter=setProtocol:) int protocol;
- (int)protocol;
- (void)setProtocol:(int)newProtocol;

Possible Values

PROT_REXEC(0), 
PROT_RSHELL(1)
#define PID_RCP_PROTOCOL 13

IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_RCP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_RCP_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

0

Remarks

This property determines the protocol mechanism used to communicate with the remote host. It has two possible values:

protRexec (0)The class uses the REXEC protocol is used for data transfer.
protRshell (1)The class uses the RSHELL protocol is used for data transfer.

The default value is protRexec. (protRshell is not generally recommended because of potential security issues.)

Data Type

Integer

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