- B26A086B1BEDE8FCFE1AF5AA32D9FEFCAE5BA0011D32CA698B65B2B5026734F9F8B8BA18B6D3925572308CFFDEF5454D595F17A2A74F9775CF0748DFE468C776
+ 351A587CEDCDC65AB2989A2F27A2C57D3CBC196376B9C3DE1E41A6A407CC94727B24C73BD13B768A722E229C80A416668A372209FF273DF0A8F41BF1F79E8064
blatta/lib/peer.py
(23 . 10)(23 . 13)
200 def send(self, msg):
201 try:
202 full_message = str.encode(msg["body"])
203 self.server.print_debug("sending message: %s" % full_message)
204
205 signed_packet_bytes = self.infosec.pack(self, msg)
206 self.server.print_debug("packing message: %s" % full_message)
207 self.socket.sendto(signed_packet_bytes, (self.address, self.port))
208 self.server.print_debug("[%s:%d] <- %s" % (self.address,
209 self.port,
210 binascii.hexlify(signed_packet_bytes)[0:16]))
211
212 except Exception as ex:
213 print("Exception while attempting to encode message: %s" % ex)