close method Null safety

void close ()

Closes the port.

After a call to this method any incoming message is silently dropped.

Implementation

void close();