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).
| Copyright © 2009 CA. All rights reserved. |
|