~aj00200/anonplus/trunk

« back to all changes in this revision

Viewing changes to src/tunnels/directudp.py

  • Committer: Aj00200
  • Date: 2012-01-11 19:34:49 UTC
  • Revision ID: aj00200@aj00200.org-20120111193449-n8i6e4nijk0ipyjn
Updated the bind addresses for directudp.py and directudpv6.py

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
    def __init__(self, port=1337):
50
50
        super(Listener, self).__init__()
51
51
        self.sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
52
 
        self.sock.bind(('0.0.0.0', port)) # TODO: bind other addresses
 
52
        self.sock.bind(('', port)) # TODO: bind other addresses
53
53
        self.sock.setblocking(False)
54
54
 
55
55
    def run(self):