Function Connection.status

Returns the status of the connection

int status();