Player.address

Gets the player's connection informations.

class Player
final pure nothrow @property @trusted @nogc
Address
address
()

Examples

assert(player.address.toAddrString() == player.ip);
assert(player.address.toPortString() == player.port.to!string);

Meta