'Start listening on the endpoint.'

def privilegedStartService(self):

    service.Service.privilegedStartService(self)
    self._waitingForPort = self.endpoint.listen(self.factory)
    raisedNow = []
    def handleIt(err):
        if self._raiseSynchronously:
            raisedNow.append(err)
        elif (not err.check(CancelledError)):
            log.err(err)
    self._waitingForPort.addErrback(handleIt)
    if raisedNow:
        raisedNow[0].raiseException()
    self._raiseSynchronously = False
