|
-
Mar 4th, 2005, 03:44 PM
#1
Thread Starter
Fanatic Member
Winsock Multi-Thread?
Hi,
Is multi-threading the same as multiple connections? If not, can someone explain the difference/advantages/disadvantages?
I created a client app to download HTML using Winsock API and implemented subclassing. The app creates 1 window with up to 52 sockets, who's messages all go through a single WindowProc. The data received gets split up according to socket number to keep things straight.
Is this a mult-threaded app or a single thread with multiple connections? I did it this way to hopefully get faster data rates but the number of simultaneous sockets doesn't seem to matter when it comes to transfer speed. Should I have done things different? Thanks for comments/suggestions.
VBAhack
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
|