I’m trying to use a mono System.Net.Socket to connect to a server using IPv6, but it appear that in the current version of mono, TCP is incompative with this AddressFamily.
Is there a workaround? Might it be because the mono version bundled with Unity is not the latest?
Here’s the simplest way to reproduce this behaviour:
TcpClient c = new TcpClient(AddressFamily.InterNetworkV6);
// SocketException: An address incompatible with the requested protocol was used.
Thanks.