I googled the error (socket.error: [Errno 10053]) and found *this <http://stackoverflow.com/questions/1472876/why-is-host-aborting-connection>* link on StackOverflow. It seems to indicate that a socket is only good for sending/recieving one reply, which then closes the socket right after (hence the error when you try to send another packet on the same socket). What you have to do is open a new socket for each packet you send/recieve. The link above has some source code that may prove useful.
-- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to pyglet-users+unsubscr...@googlegroups.com. To post to this group, send email to pyglet-users@googlegroups.com. Visit this group at http://groups.google.com/group/pyglet-users. For more options, visit https://groups.google.com/d/optout.