Previous Topic: $NMSATC2 - Command Processor

Next Topic: $NMSATC4 - SMTP Client


$NMSATC3 - Command Client

This sample client procedure sends a command and receives responses using the &SOCKET verb. It works in conjunction with the following sample server application procedures:

This procedure demonstrates ASCII/EBCDIC conversion, because all data sent and received is in ASCII.

$NMSATC3 ipAddr= 
hostName= 
port=
command="command to be executed"

Note: The command must be in quotes.

You can use a Telnet client instead of this program to send commands to the server (procedures $NMSATC1 and $NMSATC2).