tecknophreak
12-03-2003, 12:48 PM
Is it possible to set the port number for a TCP client? I've been able to do it for UDP by basically telling both sides to bind to an address/port combination.
Its mostly a curious thing. I have a server which will listen on a particular port and the client will connect to that port, this is done so that the firewall on the server side will allow connections into that port. But the firewall does not care what port the client sends and receives data on.
Its mostly a curious thing. I have a server which will listen on a particular port and the client will connect to that port, this is done so that the firewall on the server side will allow connections into that port. But the firewall does not care what port the client sends and receives data on.