|
-
May 25th, 2004, 06:23 PM
#1
Thread Starter
Frenzied Member
Winsock help
I have 2 winsock controls on my form winsock1 and winsock 2 and both at index 0.
My server has 2 winsock controls again both set at index 0 and both set to listen, on form load, on different ports.
Well i conect winsock1(0) to the server fine(on port 10000), but when i connect winsock2(0)(on port 20000), or try to, it closes both winsock1 and winsock2.
I did this a while back with no problem i.e connecting more than one sock to a server. Whats likely the prob here?
-
May 26th, 2004, 02:25 AM
#2
Frenzied Member
When you get the connection request are you loading a new winsock and accepting the request with it?
-
May 26th, 2004, 02:26 AM
#3
New Member
u don't have to use two winsock controls on the server side. a single winsock control can listen to many clients at a time.
-
May 26th, 2004, 02:29 AM
#4
KING BODWAD XXI
Do you have SP5
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
|