Client.address

Gets the client's address. May be either an ipv4 or ipv6, depending on the address where the server is binded to.

class Client
shared pure nothrow @property @trusted @nogc
Address
address
()

Examples

if(cast(InternetAddress)client.address) {
   writeln(client, " is ipv6");
}

Meta