-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Since i'm doing some test on a lan server, i've got an
System.Net.Sockets.SocketException when it tries to establish the connection
with the other client : An address incompatible with the requested protocol was
used
This could be corrected by changing DCCBase.cs line 110
socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream,
ProtocolType.Tcp);
by this
socket = new Socket(RemoteEndPoint.AddressFamily, SocketType.Stream,
ProtocolType.Tcp);
But with this change it's not working because the methode GetIp() always return
the first IpAdress (in my case IPV6) and it is not supported.
I've not be able to pinpoint the real problem but if GetIp() return an IPV4
(the las in the list of 4) it's working.
Original issue reported on code.google.com by zergman....@gmail.com on 7 May 2014 at 1:33
Reactions are currently unavailable