|
-
Apr 9th, 2001, 03:44 PM
#1
Thread Starter
New Member
While making a connection using winsock we must enter the port number. How can I Know the port number of the remote computer if its just an ordinary computer.
-
Apr 9th, 2001, 04:38 PM
#2
Frenzied Member
Every IP address has 64K port numbers available. Some of these are set aside for specific programs like Ping, FTP, etc.
You can't just connect to any port. You must use the port that the program on the other side is listening to. If you are developing a special application and the server is listening for connect requests on port 5230 and you try to connect on port 6004, the server will never see the connect request.
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
|