[fpc-pascal] fpwrite error
freepascal at adeli.fr
Tue Jun 21 01:33:31 CEST 2011
since i migrate to a 64bits hardware, i have compiled a old source with the last fpc 64 bits under linux.
(due to an old 32 bits compiled software using in a 32 bits hardware, which have the same beahaviour...)
I'have got some times an error during an fpwrite to a socket. (so it's happen some times...never when i test it with a telnet and it occurs 10% of connexion...)
The return shell error is 141 so it's seem to be for a broken socket.
How can freepascal handle this kind of problem?
it appends just after this instruction=
Do i need to use the fpsetsockopt for the MSG_OOB+MSG_NOSIGNAL ?
Perhaps some have an idea on how doing this?
More information about the fpc-pascal