>    I had problem with TBlockSocket.RecvTerminated.
> When send frame  (each line ended with LF char) contain body started
> with CRLF chars, first char of body are eat an then socket claim 10054
> error (because body is one char shorter)
> 
> problem is with  function PosCRLF (form synautil) : it should not take
> LF as begin of LFCR (only very ancient system use this )

PosCRLF is called when ConvertLineEnd option is enabled only. 

This option is designed for handling faulty implemetations. When you 
are expecting CRLF, but faulty implementation sending bad line 
ending. This was often problem in Synapse born times. But today not, 
I hope.

Not a big reason for use this option today. It is just slow.

If you have frames ended by LF, why not use RecvTerminated with exact 
LF terminator?



-- 
Lukas Gebauer.

http://synapse.ararat.cz/ - Ararat Synapse - TCP/IP Lib.
http://geoget.ararat.cz/ - Geocaching solution


------------------------------------------------------------------------------
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to