- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, All:
How to use libsioclient_tls.a on iOS platform to connect to Server with SSL?
- libsioclient.a - this library includes Socket.IO C++ client without TLS features.
- libsioclient_tls.a - this library includes the Socket.IO C++ client with TLS features
I have replace libsioclient instead of libsioclient_tls, but it still can't work.
On Android platform, it is ok with below code:
IO.Options opt = new IO.Options(); opt.forceNew = true; opt.reconnection = true; opt.transports = new String[]{"websocket", "polling"}; opt.secure = true; opt.hostnameVerifier = new MyHostnameVerifier(NetUtil.getHost(url)); if (null != sslContext) { opt.sslContext = sslContext; }
Socket.IO C++ Client
- Tags:
- HTML5
- JavaScript*
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please validate your server's certificate if SSL/TLS is enabled. libsioclient_tls.a provided in the release package will verify server's certificate during handshaking.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page