NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: astahl on April 05, 2019, 04:55:14 PM
-
What could be the cause of the following errors,
Error = Unable to Close connection.||The error number was -34 which means Could not find connected client in Simple Connect Client or Server.||Error occurred in function NetSimple.CloseServerConnection
Error = Error sending data.||The error number was -40 which means Could not send NetSimple Data.||Error occurred in function NetSimple.Send,WebHandler
Would there be any way to capture these errors and deal with them without the server hanging?
PS. I am also using CapeSoftMessageBox which is not closing these messages.
Ashley
-
Hi Ashley,
>> Error = Unable to Close connection.||The error number was -34 which means Could not find connected client in Simple Connect Client or Server.||Error occurred in function NetSimple.CloseServerConnection
most common cause is that the connection was already closed by the other end. This error should be ignored. (preferably without displaying a MESSAGE statement).
>> Error = Error sending data.||The error number was -40 which means Could not send NetSimple Data.||Error occurred in function NetSimple.Send,WebHandler
This typically means you were trying to send data to the other side, but there was no connection to them - maybe because you did not open it, or maybe because they closed it.
cheers
Bruce
-
Should I turn off CapeSoftMessageBox? Or is there another way to stop the message from apprearing.
The timer is set for 2 seconds in CapeSoftMessageBox then close automatically. I was just trying to keep a log of messages.
Thanks Bruce
Ashley
-
you can set message box to not display at all I think. Certainly in hand-code if not in the template itself...
cheers
Bruce