ZOC Online Help Topic:

Telnet → REXX ZocDeviceControl Command for Telnet

ZocDeviceControl is a ZOC-REXX Command, which allows to perform functions that are specific to a commnunication method.

Available sub-commands for the ZocDeviceControl script command in relation to Telnet connections are:

       
RESOLV <hostname or ip>
 

Returns hostname and ip for the requested host in the form "<primary hostname>; <ip>" (e.g. SAY ZocDeviceControl("RESOLV mail.emtec.com") may return www2.emtec.com; 212.34.172.147).

TCP_NODELAY ON
 

Enables the TCP_NODELAY option on socket level (google for TCP_NODELAY or Nagle's algorithm), e.g. CALL ZocDeviceControl "TCP_NODELAY ON"

 

 
← Back to Telnet