PtokaX wiki

Hub (server) for Direct Connect

User Tools

Site Tools


dcprotocol:hub_client:ipv6:ip64

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

dcprotocol:hub_client:ipv6:ip64 [14/10/2012 05:20] – created ppkdcprotocol:hub_client:ipv6:ip64 [13/01/2013 15:51] (current) ppk
Line 1: Line 1:
 ====== IP64 Direct Connect protocol extension ====== ====== IP64 Direct Connect protocol extension ======
-**Important! Work in progress and things can change when it will be needed!**\\ 
-\\ 
- 
 This protocol extension is used by clients for correct IPv6 usage and correct interaction with IPv4 clients when possible.\\ This protocol extension is used by clients for correct IPv6 usage and correct interaction with IPv4 clients when possible.\\
 Clients use same TCP and UDP ports for both protocols. Clients can have different connection mode for IPv4 and IPv6.\\ Clients use same TCP and UDP ports for both protocols. Clients can have different connection mode for IPv4 and IPv6.\\
Line 15: Line 12:
 === Indication of IPv4 and IPv6 support: === === Indication of IPv4 and IPv6 support: ===
  
-Client IPv4 and IPv6 support is indicated by last two bits of "magic" byte (that one after connection) in $MyINFO command.\\+Client IPv4 and IPv6 support is indicated by last two bits of "magic" byte (that one after connection) in [[dcprotocol:hub_client:myinfo|$MyINFO]] command.\\
 Bit 7 (0x40) indicate IPv4 support, bit 8 (0x80) indicate IPv6 support.\\ Bit 7 (0x40) indicate IPv4 support, bit 8 (0x80) indicate IPv6 support.\\
 Hub is responsible for enabling correct bits for all clients, even for old ones without IPv6 support.\\ Hub is responsible for enabling correct bits for all clients, even for old ones without IPv6 support.\\
Line 38: Line 35:
 === Clients modes: === === Clients modes: ===
  
-Because client on IPv6 can have (and imho will have in future) different connection mode than in IPv4 we have extended mode in tag.\\+Because client on IPv6 can have different connection mode than in IPv4 we have extended mode in tag.\\
 M: now have two chars, first for mode in IPv4 and second for mode in IPv6. When client don't support IPv4 or IPv4 check by hub failed then first char can be N (Not supported/available). M: now have two chars, first for mode in IPv4 and second for mode in IPv6. When client don't support IPv4 or IPv4 check by hub failed then first char can be N (Not supported/available).
  
dcprotocol/hub_client/ipv6/ip64.1350192002.txt.gz · Last modified: 14/10/2012 05:20 by ppk