Is there a way to initialize an android LocalServerSocket with SOCKET_SEQPACKET type to avoid handling packet boundaries?
Asked
Active
Viewed 219 times
1 Answers
1
Yes, LocalServerSocket has constructor that gets a file descriptor. Initialize a LocalSocket with LocalSocket.SOCKET_SEQPACKET, bind it to LocalSocketAddress and pass its file descriptor to the LocalServerSocket constructor.

Eldar
- 149
- 2
- 12