This project has moved. For the latest updates, please go here.

The requested address is not valid in its context

Dec 29, 2015 at 1:27 AM
Before to try develop a voice chat with your sample (Network Chat), I decided to test it before.

On IPAdress, if I put 127.0.0.1 or my own IP, it works fine. But if I put a IP from any computer. It sends me back: "The requested address is not valid in its context".

Now the question: The sample code is ready for connect with another computer? Or only the Server IP?
Coordinator
Jan 2, 2016 at 8:58 PM
Ah yes, if you look in the NetworkChatPanel at the Connect method, you'll see the following line:
udpListener.Client.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.ReuseAddress, true);
This allows us to connect to 127.0.0.1 for test purposes, but possibly also stops us connecting to another one. Try commenting it out and seeing what happens.
Jan 5, 2016 at 4:54 PM
I commented this line and the same happens.