In SocketServer.DatagramRequestHandler.setup, it calls: self.wfile = StringIO.StringIO(self.packet) It doesn't make sense to initialize wfile to anything; one probably wants to start off with a 'clean' packet. Should this not rather be: self.wfile = StringIO.StringIO('') ? -- Frank Tobin http://www.neverending.org/~ftobin/