[Zope-CVS] CVS: Packages/tcpwatch - tcpwatch:1.2
   
    Shane Hathaway
     
    shane@cvs.zope.org
       
    Thu, 17 Jan 2002 12:10:54 -0500
    
    
  
Update of /cvs-repository/Packages/tcpwatch
In directory cvs.zope.org:/tmp/cvs-serv14752
Modified Files:
	tcpwatch 
Log Message:
Wait for a connection before sending data, required for Mac OS X.  Thanks Jens!
=== Packages/tcpwatch/tcpwatch 1.1.1.1 => 1.2 ===
 
     def handle_write(self):
+        if not self.connected:
+            # Wait for a connection.
+            return
         buf = self._outbuf
         while buf:
             data = buf.pop(0)