adsPortCloseEx
The connection (communication port) to the TwinCAT message router is closed. The port to be closed must previously have been opened via an AdsPortOpenEx call.
long adsPortCloseEx (
long lj_port
);
Parameter
- long: lj_port port number of an ADS port that had previously been opened with AdsPortOpenEx or AdsPortOpen.
Return value
long: returns the error state of the function.