Serial Framework C++ Edition

◆ Close()

int Close ( )

Closes the receiver and stops listening for the messages.

Returns
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

The method must be called from the same thread which was used to create the receiver.