def send_datagram(self, message):
        if not self.stopped.isSet():
            host, port = message.destination
            logger.debug("send_datagram - " + str(message))
            serializer = Serializer()
            message = serializer.serialize(message)

            self._socket.sendto(message, (host, port))
:type message: Message
dataset/ETHPy150Open Tanganelli/CoAPthon/coapthon/server/coap.py/CoAP.send_datagram