send connecting on android
This commit is contained in:
parent
d5d9395655
commit
eb3f3afa60
@ -32,6 +32,8 @@ public class SocketHandler {
|
||||
public void connect(final String host, final int port, final boolean useTLS, final boolean acceptInvalidCertificates) {
|
||||
new Thread(() -> {
|
||||
try {
|
||||
delegate.onStateChanged(id, "connecting");
|
||||
|
||||
if (useTLS) {
|
||||
SSLContext sslContext = SSLContext.getInstance("TLS");
|
||||
if (acceptInvalidCertificates) {
|
||||
|
Loading…
Reference in New Issue
Block a user