Platforms to show: All Mac Windows Linux Cross-Platform

Back to SSH2SessionMBS class.

SSH2SessionMBS.Authenticated as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS Network Plugin 14.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Return authentication status.

Indicates whether or not the named session has been successfully authenticated.
Returns true if authenticated and false if not.
(Read only property)

SSH2SessionMBS.Blocking as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS Network Plugin 14.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The blocking mode on session.

blocking: Set to a non-zero value to make the channel block, or zero to make it non-blocking.

Set or clear blocking mode on the selected on the session. This will instantly affect any channels associated with this session. If a read is performed on a session with no data currently available, a blocking session will wait for data to arrive and return what it receives. A non-blocking session will return immediately with an empty buffer. If a write is performed on a session with no room for more data, a blocking session will wait for room. A non-blocking session will return immediately without writing anything.
(Read and Write property)

Some examples using this property:

SSH2SessionMBS.Handle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS Network Plugin 14.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Internal object reference.

(Read and Write property)

SSH2SessionMBS.LastErrNo as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS Network Plugin 14.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Get the most recent error number.

Returns a numeric error code corresponding to the the Error Code constants.
(Read only property)

SSH2SessionMBS.LastError as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS Network Plugin 14.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The last error code.

(Read and Write property)

SSH2SessionMBS.Socket as TCPSocket

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS Network Plugin 14.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The socket value.

This is set by constructor if you base the session on an existing session.
But you can assign a socket here if you like.
(Read and Write property)

Some examples using this property:

SSH2SessionMBS.Tag as Variant

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS Network Plugin 14.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The tag value.

A property where you can store any value you like.
(Read and Write property)

SSH2SessionMBS.TimeOut as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Network MBS Network Plugin 14.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The timeout for blocking functions.

In milliseconds.
(Read and Write property)

The items on this page are in the following plugins: MBS Network Plugin.


The biggest plugin in space...