Windows

Default Panel

../../../Projects/MLAsynchronousIO/Modules/mhelp/Images/Screenshots/TcpClient._default.png

Input Fields

inIoContext

name: inIoContext, type: MLBase, deprecated name: inIoService

The IO context that is used for the connected sockets

Output Fields

outSocketObservable

name: outSocketObservable, type: MLBase, deprecated name: outDuplexChannelObservable,outTcpSocketObservable

An observable that signals connected sockets as duplex channel interfaces in the input IO context’s processing thread

Parameter Fields

Field Index

cancel: Trigger
Connect: Trigger
Host: String
isConnecting: Bool
Last Error: String
Port: Integer

Visible Fields

Connect

name: connect, type: Trigger

Establishes a new connection

Last Error

name: lastError, type: String, persistent: no

The last error that has happened while connecting if any

Host

name: host, type: String, default: localhost

The hostname or IP address to connect to

Port

name: port, type: Integer, default: 8765

The port that should be used for the connection

Hidden Fields

cancel

name: cancel, type: Trigger

Cancels the connection process, currently not supported

isConnecting

name: isConnecting, type: Bool, persistent: no

Flag whether a connection is currently being established