Click to See Complete Forum and Search --> : Winsock Array
Ryan
Jul 11th, 1999, 01:20 AM
What I'm trying to do is build an array so everytime I make the program download a webpage, it'll open a new winsock
Bodwad
Mar 17th, 2002, 03:57 PM
I think this is what you mean
You Create an element array by Drawing a control on a form and then loading as many instances as you require
"I" on the second line is the value of an unused Array Number
Load tcpRecieve(i)
I = i + 1
You would Load the new winsock with this number and increment it afterward to allow the next winsock to be created sucessfully when required.
You can now use the Winsock you have just created as though you added this winsock at design time.
Hope it helps probably wont as i am bad at explaining things
P.S
You may need to set the index property on your Design time Winsock to 0
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.