|
-
Jan 3rd, 2001, 06:07 PM
#1
Thread Starter
New Member
When using the Winsock Control in VB6.. I have this problem..
If I use a socket array.. Say Socket(1) socket(2) etc.. and I try to use something like a for next loop to send to all the connections..
Example:
For Q = 1 to 5
Socket(Q).SendData "Whatever" & Vblf
next
It doesn't send to any but the last one (Socket(5)) .. However if after I do that .. And try sending something else to the single socket.. Lets say 3..
Socket(3).SendData "Stuff" & VbLf
Then It sends "Whatever" & Vblf & "Stuff" & VbLf
I need it to send when its "Supposed" to... Not wait till it is called seperatly..
Is there some kind of character.. Or command to make each send..
Any help would be appreciated.
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
|