Archived Forum Post

Index of archived forum posts

Question:

SFTP - Windows Mobile - put_SoRcvBuf() wont change the value.

Nov 14 '13 at 06:35

Hello all,

I am using the SFTP library from Chilkat (with a purchased license). I am downloading files from a server with a windows mobile phone (Version 6.5). Everything works great except the download/ upload speed. I am getting pro minute 1,5MB of data which is really bad for the overall performance of the application.

I searched a lot on the internet and I found that I can change the SO_RCVBUF value. I have done it with the setter (put_SoRcvBuf()), the getter shows the correct value, however when I see the last error (lastErrorText()) I always see the default value which is 32768 (socketOptions: SO_SNDBUF: 16384 SO_RCVBUF: 32768).

Is this a problem of the windows phone? Is it because Chilkat cannot overwrite the value in the registry that the phone has? Do you know maybe which value in the registry is being changed by the put_SoRcvBuf() method? I could try to change it manually.

Thank you very much for your help, Chris