title: sending hex value over udp
body: <p>I have written a small piece of code in python 3 for sending value of a variable which is in hex over UDP but it is resulting in "MemoryError"</p>
  
  <p>Here is the code</p>
  
  <pre><code>import socket
  
  sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
  
  server_address = ('localhost', 10000)
  message = 0xf1a525da11f6
  sent = sock.sendto(bytes(message), server_address)
  </code></pre>
  
  <p>could someone please help me fixing it.</p>