Make open-tcp-stream use Java sockets for SSL streams.
switch-open-tcp-stream-with-ssl-to-java makes open-tcp-stream use Java sockets for SSL streams.
The default state corresponds to on being
nil, except on Android when
switch-open-tcp-stream-with-ssl-to-java is called before delivering to Android (if the module "comm" was loaded) to switch the state to
t. The default value of on is
Once the state switches to
t, when open-tcp-stream is called with ssl-ctx non-nil, it uses a Java socket instead of ordinary socket to implement the stream. The resulting stream has some limitations, in particular
cl:listen does not work reliably on it. See Socket streams with Java sockets and SSL on Android for details.
LispWorks User Guide and Reference Manual - 20 Sep 2017