I'm developing an app that uses ServerSocket and AsyncStreams.
If my client terminates the stream I get the _Terminated message.
If I turn the client off (ie power device off) I don't get any messages so I dont know that the astream has been terminated.
Is there any way to dtermine if the astream is still connected? Or do I just need to keep track of and manually check the last time data was received?
Thanks
If my client terminates the stream I get the _Terminated message.
If I turn the client off (ie power device off) I don't get any messages so I dont know that the astream has been terminated.
Is there any way to dtermine if the astream is still connected? Or do I just need to keep track of and manually check the last time data was received?
Thanks