DeathfireD / AllianceP2P

Alliance takes the best from BitTorrent, Direct Connect and Waste and creates a decentralized and secure p2p network. It is a private and secure environment to share files and communicate with people you know. Alliance works on Windows, Linux and Mac.
12 stars 8 forks source link

IPv6 support #8

Open DeathfireD opened 11 years ago

DeathfireD commented 11 years ago

Reported by sigintcom, Mar 15, 2010 While trying to remedy the issue of VPN/network interface selection support, I discovered that Alliance only handles IPv4 addresses. Although it's already capable of binding to IPv6 addresses.

InvitationManager.attemptToBecomeFriendWith() method would have to pass 16 bytes to iparray to accept connection codes from ipv6 addresses. Perhaps you can use a string delimiter for parsing the parameters instead of serializing in the Invitation constructor.