ID:2095392
 
(See the best response by Lummox JR.)
Hello, I don't have my router or computer setup to use IPv6. They are both compatible with it, but our ISP hasn't swapped us over, so I have no need for it. I have a part of a BYOND game i'm working on that tries to detect if you're connecting from localhost, and i'd like to know what client.address is if someone were to connect using IPv6.

Essentially, would the client.address be "::1", "0000:0000:0000:0000:0000:0000:0000:0001", something in between, or never certain, and different among various computer hardware and operating systems?
BYOND doesn't utilize IPv6, so there's no instance where IPv4 isn't going to be used.

For your question, local host connections will either have an empty client.address, or their client.address will match world.address.
In response to Nadrew
Best response
Nadrew wrote:
BYOND doesn't utilize IPv6, so there's no instance where IPv4 isn't going to be used.

For your question, local host connections will either have an empty client.address, or their client.address will match world.address.

This, except "127.0.0.1" is also a possibility.