1

I create socket client in Android Java code:

LocalSocket sock = new LocalSocket(LocalSocket.SOCKET_DGRAM);
sock.connect(new LocalSocketAddress(path));

my server is create in JNI. when i install to my device, sock.connect often throw connection refused exception.

Yaobin Then
  • 2,662
  • 1
  • 34
  • 54
jie zi
  • 51
  • 1
  • 4

0 Answers0