mirror of
https://github.com/kuitoi/kuitoi-Server.git
synced 2026-06-18 14:41:21 +00:00
Disable UDP Server for now..
This commit is contained in:
@@ -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")
|
||||||
|
|||||||
Reference in New Issue
Block a user