1
0
mirror of synced 2024-12-21 01:05:53 +01:00
artemis/titles/idz/echo.py
2024-01-09 15:59:58 -05:00

10 lines
265 B
Python

import logging
class IDZEcho:
def connection_made(self, transport):
self.transport = transport
def datagram_received(self, data, addr):
logging.getLogger('idz').debug(f'Received echo from {addr}')
self.transport.sendto(data, addr)