Skip to content

Instantly share code, notes, and snippets.

@milin
Created February 22, 2010 05:40
Show Gist options
  • Save milin/310834 to your computer and use it in GitHub Desktop.
Save milin/310834 to your computer and use it in GitHub Desktop.
ciphertext = encrypted_key + "#"
ciphertext += encrypted_message
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
sock.sendto(ciphertext + "\n",(HOST, PORT))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment