koush / AndroidAsync

Asynchronous socket, http(s) (client+server) and websocket library for android. Based on nio, not threads.
Other
7.52k stars 1.56k forks source link

Offline Support #549

Open pranavlathigara opened 7 years ago

pranavlathigara commented 7 years ago

Thank you for this library i have question that, is this library useful for offline client server structure over Wifi (local port)? using nonohttpd

i want to implement local connection Device to device over wifi

encku commented 7 years ago

You can use this library for your use case. But your use case name isn't offline, local server working on specific port.

If you want use this library one of your devices should be a server (nonohttpd) and then the other device can connect through this library to other device.

pranavlathigara commented 7 years ago

actually i want to build offline chat app with use of wifi socket ,so is it possible to make realtime chat app using this library ? Thank you for replying

encku commented 7 years ago

Possible but sounds like dirty.

My advice look at this conversation. https://stackoverflow.com/questions/10492362/wifi-chat-between-two-or-more-android-devices And you can use : https://github.com/markrjr/Salut

pranavlathigara commented 7 years ago

Ok Thanx @encku