spikesafe-python API Overview | TcpSocket | disconnect(self) disconnect(self) Definition Disconnects from the Serial Port. Examples Examples In Action Raises IOError On any error.