def METHOD_NAME(self):
    """Start accepting connections.
    May raise ServerError.
    """
    assert not self._sock_service
    service = Gio.SocketService.new()
    try:
        service.add_inet_port(self._port, None)
    except GLib.GError as e:
        raise ServerError(e)
    except OverflowError as e:
        raise ServerError("port: %s" % e)
    self._id = service.connect("incoming", self._incoming_connection_cb)
    service.METHOD_NAME()
    self._sock_service = service