|
-
May 4th, 2005, 01:09 AM
#1
Thread Starter
Addicted Member
Multiple Connections with one winsock! and a bit n00bie help!
Hey,
I have madea winsock code which when connects it performs an action.. now wat i want it to do is.. once the action is done to close the winsock connection!
hw do i do that?
and there is somethin called multiple winsock connections or somethin like dat? cud any1 tell wat it is?
thx
Got You! - ©
- My Signature.
Visit www.compzone.hhnf.com. If you think i helped you, add to my reputation by Clicking "Rate This Post".

-
May 4th, 2005, 01:13 AM
#2
Re: Multiple Connections with one winsock! and a bit n00bie help!
I haven't used Winsock in a while, but
...should do it.
Multiple connections are made by using a control array. If you right click a Winsock control, copy it, then paste it, VB will ask if you want to create a control array. These work the same way as normal arrays, but they are of objects. IE:
VB Code:
Winsock(0).Close
Winsock(1).Close
Try downloading a Chat Program (source code) for an example of this.
Phreak
Visual Studio 6, Visual Studio.NET 2005, MASM
-
May 4th, 2005, 01:13 AM
#3
Re: Multiple Connections with one winsock! and a bit n00bie help!
Take a look at the Networking forum. There also are examples in the CodeBank.
-
May 4th, 2005, 01:16 AM
#4
Thread Starter
Addicted Member
Re: Multiple Connections with one winsock! and a bit n00bie help!
ok! i neeed some more help in packet sniffing is there any1 good at it ?
i wud like to meet some1 in a chat on msn messenger or somethin! the project im tryin to work on cud only be explained face2face so its not possible here... cud any1 add me to their msn?
[email protected] <thats my msn pls add me
Got You! - ©
- My Signature.
Visit www.compzone.hhnf.com. If you think i helped you, add to my reputation by Clicking "Rate This Post".

-
May 4th, 2005, 02:03 AM
#5
Re: Multiple Connections with one winsock! and a bit n00bie help!
You want a UDP connection or TCP connection?
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
|