On 2022-02-03, Kushal Kumaran <kus...@locationd.net> wrote:
>
>> [...]
>> However, example server code I've found does not wrap the newly
>> accepted connection. I've checked, and newsocket is already an
>> <ssl:SSLSocket> object. [...]
>>
>> What is the purpose of wrapping newsocket?
>
> That section is talking about using an "ordinary" socket for the server.

Yep, I missed that.

> bindsocket is a socket.socket.  If bindsocket was already a
> ssl.SSLSocket, the wrapping would be already done by accept.

Thanks!

--
Grant

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to