Method _Stdio._port()->close() class _Stdio._port Method close void close() Description Closes the socket.