@@ -0,0 +1,326 @@
+import bson%0Aimport socket%0A%0A%0Adef main():%0A    udp_ip = '127.0.0.1'%0A    udp_port = 8080%0A    sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)%0A    message = bson.dumps(%7B%0A        'body': 'Hello there!',%0A        'type': 'default'%0A        %7D)%0A    sock.sendto(message, (udp_ip, udp_port))%0A%0A%0Aif __name__ == '__main__':%0A    main()%0A

Add a oversimplified demo client