Hi buddies, How are you !!
I got the following problem while i am developing a chat software
My software consists of two parts:
- Server
- Client
each in a seperate project, and each works very well when they are working alone, but when i try to test my application -I run the server then the client- i got the problem that when the client create the TcpClient object i got this message:
Only one usage of each socket address (protocol/network address/port) is normally permitted
I think that is because i use the same port number for both applications but this is the only way to run both applications on the same machine.
the short version of my question is:
How can I start a TcpListener and a TcpClient on the same machine and the same port
I tried all the windows registry things but no change accured,
Thanks in advance.