socket.io-client-dart icon indicating copy to clipboard operation
socket.io-client-dart copied to clipboard

How to define target network/ socketfactory option in Android 12, 13

Open elmar001 opened this issue 2 years ago • 0 comments

Is there any way to specify which network the socket is connecting? Because in Android 12 and Android 13 primary network and another connected network is available. We need to specify which network it needs to bind and send data to there only. For example, silmilar thing from OhHttp: val client = OkHttpClient().newBuilder().run { socketFactory(network.socketFactory) build() }

elmar001 avatar Nov 16 '22 00:11 elmar001