PDA

Click to See Complete Forum and Search --> : Winsock Control & Port


ChrisJackson
Dec 14th, 1999, 08:59 PM
I am trying to debug a VB program written by someone else that uses the Winsock Control. I haven't been able to get the program to work on my computer. I believe that the problem is with the Port.

How do I establish a port on my PC for my program to use? In the program's documentation, this is what was stated: Open up the port set in the registry through the user defined setting.

Can someone interpret this for me and give information on how to establish the port?

TIA.

Chris

------------------
CJ

Aaron Young
Dec 15th, 1999, 01:24 AM
The Port would need to be whatever Port the Recieving Program is expecting the Data to come in on, so if you send Data though Port 10 in the Client, the Recieving Program needs to be listening on that same Port, or it'll miss it.

I believe all the author was saying in his/her comment was that they load the Port Number from a Value they had stored in the Registry previously. (Probably from a Configuration Form/Last Application Run)

------------------
Aaron Young
Analyst Programmer
aarony@redwingsoftware.com
adyoung@win.bright.net

ChrisJackson
Dec 15th, 1999, 01:32 AM
Thanks for the response Aaron. We were able to figure it out.

Chris

------------------
CJ