Skip to content

Instantly share code, notes, and snippets.

@abendayan
abendayan / client.py
Last active December 10, 2018 11:15
p2p
#!/usr/bin/env python
"""UDP hole punching client."""
from twisted.internet.protocol import DatagramProtocol
from twisted.internet import reactor
import time
import sys
class ClientProtocol(DatagramProtocol):
"""