Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #17316

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

References <BAY156-W17B3C78816FA7A676A7A93B3A30@phx.gbl> <CANS6qmBmSVefw=2-TbTZt472nR86DDOO3JUbyTm4OTTPXGQ4zQ@mail.gmail.com>
Date 2011-12-16 07:36 +1100
Subject Re: [Tutor] Localhost client-server simple ssl socket test program problems
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.3701.1323981388.27778.python-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: [Tutor] Localhost client-server simple ssl socket test program problems Chris Angelico <rosuav@gmail.com> - 2011-12-16 07:36 +1100

csiph-web