> I have instant connection breaks when i upload/download files.
> It seems that when there is about 10% of the file is pending for
> transmission - connection cuts.
> On both client and server side i have exception
> 'Error:Synapse TCP/IP Socket error 10054: Connection reset by peer'

It is probably bad or invalid linger option. try to set 
setlinger(true, 10000) on your sockets.

If you are using this option, check, if value is reasonable high. On 
prehistoric Synapse it was in seconds, but it is in milliseconds now. 
So, value like 10 is not valid now.


-- 
Lukas Gebauer.

E-mail: gebau...@mlp.cz
http://synapse.ararat.cz/ - Ararat Synapse - TCP/IP Lib.


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to