S
Sharon
I’m writing a server that listen for client connections.
I chose the 2902 port. But today I received a SocketException as follow:
Message: Only one usage of each socket address (protocol/network
address/port) is normally permitted
Method: Socket.DoBind
I examined the netstat output and found that some other process has an
established connection on this same port.
My question is:
What is the range of ports numbers that I can use for my server to listen
on, and making sure the Windows OS will not use them?
I chose the 2902 port. But today I received a SocketException as follow:
Message: Only one usage of each socket address (protocol/network
address/port) is normally permitted
Method: Socket.DoBind
I examined the netstat output and found that some other process has an
established connection on this same port.
My question is:
What is the range of ports numbers that I can use for my server to listen
on, and making sure the Windows OS will not use them?