stdin (property)

A string of data to be sent to the remote host while connected.

Syntax

@property (nonatomic,readwrite,assign,getter=stdin,setter=setStdin:) NSString* stdin;
- (NSString*)stdin;
- (void)setStdin:(NSString*)newStdin;

@property (nonatomic,readwrite,assign,getter=stdinB,setter=setStdinB:) NSData* stdinB; - (NSData*)stdinB; - (void)setStdinB:(NSData*)newStdin;
public var stdin_: String {
  get {...}
set {...} }
public var stdin_B: Data { get {...}
set {...} }

Default Value

""

Remarks

This property is used to provide input for the process in the remote host.

If you are sending data to the remote host faster than it can process it, or faster than the network bandwidth allows, the outgoing queue might fill up. When this happens, Stdin fails with error 10035: "[10035] Operation would block" (WSAEWOULDBLOCK). You can check this error, and then try to send the data again.

This property is write-only.

Copyright (c) 2023 /n software inc. - All rights reserved.
IPWorks SSH 2020 iOS Edition - Version 20.0 [Build 8501]