StandardOutputStream.Operator Convert

From Xojo Documentation

Revision as of 00:35, 30 July 2019 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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