<textcon>.status <textcon>.telnet-status
Simics Reference Manual  /  3 Commands  /  3.2 Command List  / 

<textcon>.telnet-setup

Synopsis

<textcon>.telnet-setup [port|unix_socket] [-ipv4] [-shutdown] [-raw]

Description

Start telnet server on port or on UNIX socket unix_socket. If neither port or unix_socket is specified, or if port is set to 0, then an arbitrary port is used. If the port is busy, the command fails, unless the new_telnet_port_if_busy attribute has been set. The listening port is returned, or NIL on failure.

The given port must not be a privileged port, i.e. allowed range is [1024, 65535]. The command will fail if the unix_socket argument specifies an already existing file. UNIX sockets are not supported on Windows.

If -raw is specified, the telnet connections will use raw mode, where telnet control codes will not be interpreted.

If -shutdown is specified, any open telnet connections will be shutdown before starting a new server.

Provided By

textcon

See Also

<textcon>.telnet-status
<textcon>.status <textcon>.telnet-status