[Tutor] Localhost client-server simple ssl socket test program problems

Chris Angelico rosuav at gmail.com
Thu Dec 15 15:36:25 EST 2011


On Fri, Dec 16, 2011 at 6:24 AM, Alexander <rhettnaxel at 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



More information about the Python-list mailing list