NETCONNECTOFF
Shuts down a connection that was created with NETCONNECTON. After running this command, NETCONNECTSENDVALUE and NETCONNECTRECEIVEVALUE no longer work.
The following example assumes that there is a machine named "remotemachinename" that is listening on port 5124.
NETSTARTUP ; Start up the network SHOW NETCONNECTON "remotemachinename 5124 [PRINT [ready to send again]] [PRINT [I have something]]
trueNETCONNECTOFF NETSHUTDOWN