• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Android Client Socket Write One Time

TDMaster

Lurker
i am writing an Application that works through WIFI and connected to PC
through C# Socket..

the application works once :
it send first data and that's it
no other data is sent through the socket
Sockets are connected on Both ways
other side is the Listener..

any Help will be great
:)
Thank you
 
Sockets have a tendency to drop out (wi-fi is unreliable) and get left hanging in a TIME_WAIT state (I think).

You can try setting so.reuseAddress(true) and checking routeToHost to help a bit
 
Back
Top Bottom