Player.ip

Gets the player's connection informations.

  1. Address address [@property getter]
  2. string ip [@property getter]
    class Player
    final pure nothrow @property @safe @nogc
    string
    ip
    ()
  3. ushort port [@property getter]

Examples

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

Meta