B4J Question asyncStreamText Client Abnormal Disconnect

Addo

Well-Known Member
Licensed User
i am using asyncstreamText as a tcp server it works pretty fine so far

but i am Curios to know why when client connection lost the server raise this exception ?




i already handle the astream termination sub

B4X:
Private Sub AStream_Terminated
    AStream_Error
End Sub

Private Sub AStream_Error

Aserver.ClientDisconnected(Me)

astream.Close
    
    
End Sub


where i can catch this error exactly ?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…