NETWAIT

Top  Previous  Next

 

The NETWAIT command is applicable to the PDA version of QM only and waits for an incoming telnet connection.

 

 

Format

 

NETWAIT

 

 

The NETWAIT command waits for an incoming telnet connection, over a network or from a telnet session running on the same PDA. The command may only be executed from command processor level 1, not from an EXECUTE in a program.

 

The PDA version of QM does not support multiple processes. Although this may look as though there is a second QM session running, when a connection is established, the telnet connection becomes the keyboard and display for the QM session that executed the NETWAIT command, leaving the original screen suspended.

 

If there is an executable VOC item named ON.CONNECT, this will be run in the newly established telnet session in much the same way as the LOGIN paragraph is executed in normal QM sessions. There is no reason why, if appropriate, the ON.CONNECT item cannot go on to run LOGIN.

 

The default terminal type, unless changed in the ON.CONNECT paragraph, will  be vt100.

 

The session may be terminated using the QUIT or LOGOUT commands. Use of QUIT will revert to NETWAIT to await a new connection. Use of LOGOUT terminates NETWAIT too.