def socket(self):
    """The running processes socket/port information (or None)."""
    return self._socket or self.read_metadata_by_name(self._name, 'socket', self._socket_type)
The running processes socket/port information (or None).