Dear Lukas, >> On both client and server side i have exception >> 'Error:Synapse TCP/IP Socket error 10054: Connection reset by peer'
LG> It is probably bad or invalid linger option. try to set LG> setlinger(true, 10000) on your sockets. Can you clarify more about this setting. Seems I have no effect in improvement of socket communication, setting setlinger(true, 10000) on server and client side. Also SizeReceiveBuffer SizeSendBuffer seems have no effect. On upload file with more that about 1mb in size it looks like connection frizzes and finally breaks. As I sending data by SendBuffer function I have played with size of Buffer that I send by SendBuffer(NOT SizeRecvBuffer/SizeSendBuffer properties of TTCPBlockSocket) and sometimes I have success if I send smaller file and size of buffer is 1024byte. If I do it more it affects on connection cuts, If i do it less transmission becomes much slower and finally i also have connection cuts. please help. thank you very much for the great library. Dmitry ------------------------------------------------------------------------------ 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