I'm looking for an example of how to use the AndroidAsync library to create a simple Socket or DatagramSocket. The sample in the git repo, the tests, and the examples on the homepage don't seem to cover this use case. I see the SocketChannelWrapper and DatagramChannelWrapper classes, but they don't seem to have public constructors.
Asked
Active
Viewed 1,577 times
1 Answers
1
I believe this could be done using the AsyncServer.connectSocket
and AsyncServer.connectDatagram
methods. Additionaly, an AsyncSSLSocketWrapper
can be used to implement SSL.

Eliezer
- 7,209
- 12
- 56
- 103