#1 2011-03-25 11:01:48

array81
Member
From: Italy
Registered: 2010-07-23
Posts: 411

SockRecvLn error

Some time when I try to write (not read) some data inside database (I use Windows XP LAN) I receve this error: "SockRecvLn 0" line 1336 of syncrtsock.pas file.

Do you have some idea?

Offline

#2 2011-03-25 11:10:41

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,661
Website

Re: SockRecvLn error

It could occur after some time, when the connection has been broken (timeout).

It should retry automatically and silently.

You should not loose any data.

Offline

#3 2011-03-25 11:16:50

array81
Member
From: Italy
Registered: 2010-07-23
Posts: 411

Re: SockRecvLn error

No, when I have this error I lost my data (I cannot found data on database) besides I application show a error message and terminate my save procedure...

Do I need use only a try...exception...end to solve the problem?

Last edited by array81 (2011-03-25 11:31:15)

Offline

#4 2011-03-25 12:08:15

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,661
Website

Re: SockRecvLn error

There is already a try..exception with a retry in THttpClientSocket.Request...

I've enhanced the exception error message in this case.
See http://synopse.info/fossil/info/1a3eb8b204

It could help finding out which Socket error occurred.

Offline

Board footer

Powered by FluxBB