I am running AsyncStreamsText classes on an internal network (TCP/IP) and I would say that all of my communications end with the "_Terminated" event being called when the remote device is sending or has just finished sending to the tablet on which the app is running. Sometimes the message looks as though it has been prematurely ended (though interestingly enough always at the same place in the stream of data). Other times it looks as though the message has in fact been completely sent.
One instance is attached to a ServerSocket, the others are attached to "standard" sockets.
The AsyncStreamsText tutorial says this event is raised when the Connection is "unexpectedly" terminated.
What actually will cause the termination? Is there a timeout? If so is there a way to extend it?
Thanks.
One instance is attached to a ServerSocket, the others are attached to "standard" sockets.
The AsyncStreamsText tutorial says this event is raised when the Connection is "unexpectedly" terminated.
What actually will cause the termination? Is there a timeout? If so is there a way to extend it?
Thanks.