SocketTools .NET Edition

RshClient.RemoteOptions Enumeration

Specifies the options that the RshClient class supports.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

[Visual Basic]
<Flags>
Public Enum RshClient.RemoteOptions
[C#]
[Flags]
public enum RshClient.RemoteOptions

Remarks

The RshClient class uses the RemoteOptions enumeration to specify one or more options to be used when establishing a connection with a remote host. Multiple options may be specified if necessary.

Members

Member Name Description Value
optionNone No option specified. 0
optionDefault The default connection option. This is the same as specifying optionNone. 0
optionReservedPort This option specifies that a reserved port should be used to establish the connection. Reserved ports are those port numbers which are less than 1024. This option should be specified when connecting on the rshPortShell port. 1
optionFreeThread This option specifies that class methods may be called from any thread, and not only the thread that established the connection. Using this option disables certain internal safety checks that are made by the class and may result in unexpected behavior unless you ensure that access to the class instance is synchronized across multiple threads. 524288

Requirements

Namespace: SocketTools

Assembly: SocketTools.RshClient (in SocketTools.RshClient.dll)

See Also

SocketTools Namespace