ReadyToSend Property
This property is True when data can be sent over the SSH Channel.
Syntax
ANSI (Cross Platform) int GetReadyToSend(int iSSHChannelId); Unicode (Windows) BOOL GetReadyToSend(INT iSSHChannelId);
- (BOOL)readyToSend:(int)sSHChannelId;
#define PID_SSHDAEMON_READYTOSEND 5 IPWORKSSSH_EXTERNAL void* IPWORKSSSH_CALL IPWorksSSH_SSHDaemon_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSSSH_EXTERNAL int IPWORKSSSH_CALL IPWorksSSH_SSHDaemon_CheckIndex(void *lpObj, int propid, int arridx);
Default Value
FALSE
Remarks
This property is True when data can be sent over the SSH Channel.
When Timeout is set to 0 (asynchronous) sending data may result in an error if the channel or underlying socket cannot accept more data to send. Monitor SSHChannelReadyToSend or ReadyToSend to determine when data can be sent again.
When Timeout is set to a positive value the class will block when sending data until the data can be successfully sent and SSHChannelReadyToSend and ReadyToSend do not need to be monitored.
The SSHChannelId parameter specifies the index of the item in the array. The size of the array is controlled by the SSHChannelCount property.
This property is read-only and not available at design time.
Data Type
Boolean