|
-
Feb 26th, 2003, 03:55 PM
#1
Thread Starter
Member
Winsock? Address? Port?
OK Here's the problem.
I made a program with two winsock controls... and each of them are suppose to connect to two different programs at port 7238. After one side connected, and I try to connect to another program with the other winsock. It says "Address in use". Is is suppose to be like that? I can't have 2 connections on the same port? How do I fix it? Or can I? What should I do?
-
Feb 26th, 2003, 04:50 PM
#2
Addicted Member
you can connect to the remote port as meny times as you want if app you connecting to supports multi connections. Local port cant be same.
P.S. Sorry for my poor English...
-
Feb 26th, 2003, 05:02 PM
#3
Thread Starter
Member
So, is it possible to use application#1 (127.0.0.1) to connect to my application at 7238, and my application connect to another application#2 (xxx.xx.xx.xxx) at 7238?
-
Feb 26th, 2003, 06:06 PM
#4
Addicted Member
P.S. Sorry for my poor English...
-
Feb 26th, 2003, 06:44 PM
#5
Frenzied Member
well..
You cant have more than one connection running on the same port.
but you can have a control array.. so everytime it needs a new connection it will load to a diff port
:::`DISCLAIMER`:::
Do NOT take anything i have posted to be truthful in any way, shape or form.
Thank You!
--------------------------------
"Never heard about "hiking" poles. I usualy just grab a stick from the nature, and use that as a pole." - NoteMe
"Finaly I can look as gay as I want..." - NoteMe
Languages: VB6, BASIC, Java, C#. C++
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
|