dlern
Jan 27th, 2006, 04:55 PM
I have some general questions about setting up Remotehost and ports.
1) What is the need for both? Is it analogous to a userID and password? As in you need to know both the remotehost name (or IP) and the port to be part of a paticular winsock network?
2) Can you arbitrailary chose any port number?
3) If you are going to set up more than one connection port using the same host computer, (eg, one port for sending small data message, a different port for transfering large files (greater than 1Mb) and "chunking" them) should the port numbers differ by a certain amount or can they be one number apart? (i.e 7100,7200 vs 6125,6126)
4) Alternatively, if your are setting up multiple servers on the same lan, should the port numbers differ by any amount? (similar to question 3)
Specifically, I am setting up a number of lab networks in our school building. (we have have 6 labs, 30 computers each). Each labe network is to operate independantly of the other labs (one server per lab, 30 clients) All the computers are connected to the same LAN. Could I use the same port for all the clients and just specify which remotehost they should connect to (ie 180 computers "porting" to port number 6789, 30 contecting to remotehost "Lab-1", 30 connecting to "Lab-2", etc.)? Is there a problem if 6 servers are all listening for the same port?
All input is appreciated.
1) What is the need for both? Is it analogous to a userID and password? As in you need to know both the remotehost name (or IP) and the port to be part of a paticular winsock network?
2) Can you arbitrailary chose any port number?
3) If you are going to set up more than one connection port using the same host computer, (eg, one port for sending small data message, a different port for transfering large files (greater than 1Mb) and "chunking" them) should the port numbers differ by a certain amount or can they be one number apart? (i.e 7100,7200 vs 6125,6126)
4) Alternatively, if your are setting up multiple servers on the same lan, should the port numbers differ by any amount? (similar to question 3)
Specifically, I am setting up a number of lab networks in our school building. (we have have 6 labs, 30 computers each). Each labe network is to operate independantly of the other labs (one server per lab, 30 clients) All the computers are connected to the same LAN. Could I use the same port for all the clients and just specify which remotehost they should connect to (ie 180 computers "porting" to port number 6789, 30 contecting to remotehost "Lab-1", 30 connecting to "Lab-2", etc.)? Is there a problem if 6 servers are all listening for the same port?
All input is appreciated.