mirror of
https://github.com/kuitoi/kuitoi-Server.git
synced 2025-08-17 16:25:36 +00:00
Disable UDP Server for now..
This commit is contained in:
parent
30b6a71a1c
commit
50de09633e
@ -37,8 +37,9 @@ class UDPServer:
|
|||||||
self.log.error("Error while connecting..")
|
self.log.error("Error while connecting..")
|
||||||
|
|
||||||
async def start(self):
|
async def start(self):
|
||||||
self.log.debug("Starting UDP server.")
|
pass
|
||||||
await self.stop()
|
# self.log.debug("Starting UDP server.")
|
||||||
|
# await self.stop()
|
||||||
# srv_sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
|
# srv_sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
|
||||||
# srv_sock.bind((self.host, self.port))
|
# srv_sock.bind((self.host, self.port))
|
||||||
# self.log.debug(f"Serving on {srv_sock.getsockname()}")
|
# self.log.debug(f"Serving on {srv_sock.getsockname()}")
|
||||||
@ -50,5 +51,6 @@ class UDPServer:
|
|||||||
# finally:
|
# finally:
|
||||||
# await self.stop()
|
# await self.stop()
|
||||||
|
|
||||||
async def stop(self):
|
def stop(self):
|
||||||
self.log.debug("Stopping UDP server")
|
pass
|
||||||
|
# self.log.debug("Stopping UDP server")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user