|
Rena I had one (1) message in Discord deleted and proceeded to make a huge, huge mess about how it was a violation of free speech and how moderators are supposed to be spam janitors and nobody should have the right to tell me not to talk about school shootings Level: 135 Posts: 389/5390 EXP: 29079571 For next: 255434 Since: 07-22-07 Pronouns: he/him/whatever From: RSP Segment 6 Since last post: 343 days Last activity: 343 days |
|
JL2 - Post #389 - 07-28-07 10:07 PM Day 6, rank 6; Level 16 (83.7%) 3241/3872 (19625/20256)
GPP: 75; GT: 57.611 If you have just the raw 16 bytes of an IP address, such as 0x7F000001 00000000 00000000 00000000, how can you tell if this is an IPv4 or IPv6 address? I'm thinking store the IPv4 addresses in the low 4 bytes and set the upper 12 to something that ends up being a reserved or invalid address in IPv6, so I know if I encounter this that it's IPv4, but I don't know what values I would use for these bytes. 0xFF maybe? ::1 (0000:0000...0000:0001) is a valid address (localhost), so I can't use zero. :-/ ____________________ |






I realized what you meant 
