adroitandroid / Near

A P2P library for Android for discovery on local networks using UDP and transfer in general using TCP sockets
https://goo.gl/kioAiQ
MIT License
350 stars 92 forks source link

Stop after mServerSocket!!.accept() #17

Open parth-sakariya opened 3 years ago

parth-sakariya commented 3 years ago

Hii, I am just creating a demo exactly like yours. But I got an issue with the socket object. Every time it stops in the startServer method(val connectionSocket = mServerSocket!!.accept()) and it display "Collecting data" in debuging. Capture Capture1

parth-sakariya commented 3 years ago

Plz, answer me ASAP.

DatL4g commented 2 years ago

As this project is (nearly) dead and hard to maintain because it relies on old android code, I created a new one Klient2Klient test this please instead

I will create an official release tomorrow, in the main time you can get the latest built commit from jitpack

implementaton("com.github.DatL4g.Klient2Klient:Klient2Klient:531f6f3dae")