gmyth-stream/plugins/comm/tcp.py
branchtrunk
changeset 471 2eef40885322
parent 470 57833200a415
child 474 07c12d2ceddf
     1.1 --- a/gmyth-stream/plugins/comm/tcp.py	Fri Mar 30 04:12:52 2007 +0100
     1.2 +++ b/gmyth-stream/plugins/comm/tcp.py	Fri Mar 30 23:07:54 2007 +0100
     1.3 @@ -10,6 +10,7 @@
     1.4          self.finish = 0
     1.5  
     1.6          self.tcp = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
     1.7 +        self.tcp.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
     1.8          self.tcp.bind( (self.host, self.port) )
     1.9          self.tcp.listen(1)
    1.10