Valhalla Legends Forums Archive | Battle.net Bot Development References | [VB]Using Winsock Index

AuthorMessageTime
191Phantom191
Can u use the same winsock plugin for more than 1 connection to battle.net at a time? (loading more than 1 bot though same connection)
July 31, 2003, 2:46 AM
Camel
Assuming you're using VB:
You could set the 'Index' property of your winsock to 0, and then dynamicly Load new winsock controls:

[code]Dim numSocks as Long

Sub addSocket()
numSocks = numSocks + 1
Load myWinsock(numSocks)
End Sub[/code]
If you take this approach, you will need to rebuild all of that winsock's events as the Index paramater must be added.
July 31, 2003, 4:50 AM
191Phantom191
ok thanks
July 31, 2003, 5:22 AM

Search