User Controls

What is this?

  1. #21
    SBTlauien African Astronaut
    I fixed the backwardness...


    for (int i = ip.length() - 2; i > -1; i = i - 2) {
    newIp = newIp + Integer.valueOf(ip.substring(i, i + 2), 16) + ".";
    }


    ...definentely much better. So how does one break this down? To me it looks as if these IPV6 addresses have four addresses bundle into one. Guess it's back to the books...
  2. #22
    Merlin Houston
    Originally posted by SBTlauien So how does one break this down? To me it looks as if these IPV6 addresses have four addresses bundle into one. Guess it's back to the books…

    Lol I hadn't even noticed in your screenshot, but yeah that's essentially what it is, just nobody writes it out like that.

    For IPv6 just split into groups of 4 chars and seperate by ':'.

    At the end of the day you just have a number which you do binary 'and' for the subneting, it can be written however we want.
    IPv4 is 4 groups of 8 bits. Written in decimal seperated by a '.', otherwise we'd have a huge number and it would be a pain in the ass to work with:

    >>> pow(2,32)
    4294967296

    IPv6 is 8 groups of 16 bits. Written in hex seperated by ':', the colon just makes it easier to read, it's not necessary from a logical standpoint.

    Edit: bytes to bits

    Post last edited by Merlin at 2017-01-22T00:37:36.189072+00:00
  3. #23
    Lanny Bird of Courage
    Originally posted by Merlin Lol I hadn't even noticed in your screenshot, but yeah that's essentially what it is, just nobody writes it out like that.

    For IPv6 just split into groups of 4 chars and seperate by ':'.

    At the end of the day you just have a number which you do binary 'and' for the subneting, it can be written however we want.
    IPv4 is 4 groups of 8 bytes. Written in decimal seperated by a '.', otherwise we'd have a huge number and it would be a pain in the ass to work with:

    >>> pow(2,32)
    4294967296

    IPv6 is 8 groups of 16 bytes. Written in hex seperated by ':', the colon just makes it easier to read, it's not necessary from a logical standpoint.

    Post last edited by Merlin at 2017-01-21T14:59:33.636051+00:00

    I think you mean bits instead of bytes. An IPv4 address if 4 bytes.
    The following users say it would be alright if the author of this post didn't die in a fire!
  4. #24
    SBTlauien African Astronaut
    But still what is 'WebProxy/1.0 Pre-beta'?

    This is all I could find and it's very recent.

    http://serverfault.com/questions/819088/what-is-webproxy-1-0-pre-beta

    Sprint?
Jump to Top