Disconnect

Description

Disconnects “gracefully” the Client from the PLC.

Declaration

void Disconnect();

 

Remarks

This function can be called safely multiple times.

After calling this function LastError = 0 and Connected = false.