android server how to know client is disconnect or close

Authetmup

New Member
i have two android device, A is server , B is client , and connect with socket ,how do server/client know each other is disconnect or close ,i have try isconnect(), but not useful.
 
Back
Top