StandardOutputStream.Operator Convert

From Xojo Documentation

Method

StandardOutputStream.Operator_Convert() As TCPSocket

Supported for all project types and targets.

Used to convert to a TCPSocket. See the Operator_Convert method.

Notes

StandardOutputStream incorporates a conversion operator so that you can use StdOut and StdErr as TCPSockets. This is useful only for services that are started for you by xinetd on macOS or Linux. Here is an example of how to use this:

Var Outgoing As TCPSocket = StdOut
Var ErrMsg As TCPSocket = StdErr