On Fri, Dec 16, 2011 at 6:24 AM, Alexander <rhettna...@gmail.com> wrote: > You're trying to connect to the same port on localhost as a client and a > server? I don't know for certain but I don't think that should work. > Two computers?
That's bind() on the server and connect() on the client - the normal way to do things. That part of the code is fine (far as I can tell - haven't actually run the code, just eyeballed it). Chris Angelico -- http://mail.python.org/mailman/listinfo/python-list