|
-
Mar 15th, 2005, 06:09 PM
#1
Thread Starter
New Member
Compact Framework sockets, performance
I am sending a lot (hundreds) of files from a desktop app to a PocketPC app using Sockets and NetworkStreams. Both are written in VB.NET. The parameters which identify the file transfers pass from app to app over a "control" connection. Each file transfer itself runs over its own "Data" connection. My problem is performance. The first transfer gets a rate of 60+K/sec, but all subsequent transfers get no better than 2k/sec. I am closing the sockets, but not sure if I should dispose or finalize them, could this be the problem? Also, I have had to limit the maximum number of concurrent transfers to less than ten, otherwise ActiveSync 3.8 crashes with a 10055 (no more sockets available) error. Any suggestions welcome…
Ivan
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|