Stdin Property

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

Syntax

property Stdin: String write set_Stdin;
property StdinB: TBytes write set_StdinB;

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 raises the exception with errorcode 10035 and message '[10035] Operation would block' (WSAEWOULDBLOCK). You can handle this exception, and then try to send the data again.

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

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