PxPlus Simplified Client-Server

Tinynet

Simple Telnet for Windows

This interface provides a simple TCP/IP raw telnet-like connection to a host system. Using this server, telnet terminal emulators (such as Putty) that provide a raw "telnet" style communication protocol can be used to connect to a host system. The program is primarily designed for use with Windows where there is generally no telnet server; however, it could be used with other host systems.

Running Tinynet

The tinynet host program is "*plus/cs/tinynet". It can be run like any other program on the system and, once initiated, will monitor for connections on port 23 (the standard telnet port) by default. If desired, you can change this port either by issuing a CALL and passing a new port number as a string in the first argument or by launching the program with a –ARG <portid> in the Command line. Two additional arguments can be entered for the terminal type and the program to run when a telnet session is executed.

Command Line:

"*plus/cs/tinynet" -arg portid, terminal type, program

Where:

 

portid

Port ID to monitor (Default: 23)

 

terminal type

Terminal type to use (Default: ansi) (added in PxPlus 2016)

 

program

Program to run (Default: go to Command mode) (added in PxPlus 2016)

Examples:

"*plus/cs/tinynet" –arg 10000 ansi myprogram.pxp (in the Command line)

CALL "*plus/cs/tinynet","10000","ansi","myprogram.pxp"

The above examples would launch the tinynet host program to monitor port 10000 as opposed to the default of 23.