Unable to connect to server, I have to 2 Que 1) I am using Kotlin v 1.2.21 with Dagger2, Retofit2, Okhttp3,RXJava library please let me know which is the best way to implement Socket IO ?
2) After so much try unable to connect to server, So i decide to make sample project sokcet IO connection but still unable to connect please check sample code (Using Https, web Project working fine prob with only android ) `package com.easymakers.myapplication
import android.os.Bundle import android.support.design.widget.Snackbar import android.support.v7.app.AppCompatActivity import android.util.Log import android.view.Menu import android.view.MenuItem import com.github.nkzawa.emitter.Emitter import com.github.nkzawa.socketio.client.IO import com.github.nkzawa.socketio.client.Socket
import kotlinx.android.synthetic.main.activity_main.* import javax.net.ssl.SSLContext
class MainActivity : AppCompatActivity() {
}
Using
implementation 'com.github.nkzawa:socket.io-client:0.5.2'` If any one can help me