This project has moved and is read-only. For the latest updates, please go here.

The requested address is not valid in its context

Dec 29, 2015 at 2: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 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?
Jan 2, 2016 at 9: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 for test purposes, but possibly also stops us connecting to another one. Try commenting it out and seeing what happens.
Jan 5, 2016 at 5:54 PM
I commented this line and the same happens.