I am developing a server application in vb and having been experimenting with different ways of handling multiple connections. Winsock control arrays seem to be the most effective but if anyone has any suggestions ^_^. One of the problems i have encountered is that when a socket closes you use the Unload command to remove it from memory leaving a gap in the control array, hwo do you then handle the next connection? make a new control UBound + 1 or use the gap? if so how?
If anyone has done this type of programming before or feels they could help whatsoever please do.
AIM: BAO ColdFusion (used the most)
ICQ: 55771032 (if im not around leave me a msg)
e-mail: [email protected]
thanks,
ColdFusion


Reply With Quote