diff --git a/pyVoIP/networking/sock.py b/pyVoIP/networking/sock.py index d390032..cfa7dc2 100644 --- a/pyVoIP/networking/sock.py +++ b/pyVoIP/networking/sock.py @@ -445,8 +445,11 @@ def _handle_incoming_message( if conn_id: self.sip.handle_new_connection(self.conns[conn_id]) - def run(self) -> None: + def start(self) -> None: self.bind((self.bind_ip, self.bind_port)) + super().start() + + def run(self) -> None: if self.mode == TransportMode.UDP: self._udp_run() else: