|
-
Jul 14th, 2009, 07:49 AM
#1
Thread Starter
Addicted Member
Need suggestions: array or non-array?
Hi,
i made a client app to connect to server. it can connect 10 winsock at once (max 10 connections). for that purpose, i already made 2 versions to compare, using 10 winsock controls and the other one using 1 winsock control as array..
after comparison of both versions, i found non-array winsock app has faster connection than the other one (although i like winsock array version most)..
from what i've read on internet, it's said better not to use array if we already knew how many the maximum controls are used. in my case, since i only use max 10 connections, then it's better using 10 winsock control (not as array), since array will use more memory..
so, what do you think about that?
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
|