Message4464

Author amak
Recipients amak, kfitch42
Date 2009-04-07.16:06:32
SpamBayes Score 0.00013051793
Marked as misclassified No
Message-id <1239120392.76.0.645459234523.issue1304@psf.upfronthosting.co.za>
In-reply-to
Content
There is an error in your code, namely

  def run(self):
    while True:
      try:
        data = self.revc(4)  # <-- should be self.recv
        print "got data"
        # ...
      except socket.error:
        break

When I correct the error, everything runs fine.

I'll look at the timings produced.
History
Date User Action Args
2009-04-07 16:06:32amaksetmessageid: <1239120392.76.0.645459234523.issue1304@psf.upfronthosting.co.za>
2009-04-07 16:06:32amaksetrecipients: + amak, kfitch42
2009-04-07 16:06:32amaklinkissue1304 messages
2009-04-07 16:06:32amakcreate