InetAddress.opAssign

Copies *addr to this.addr.

  1. sockaddr* opAssign(Addr addr)
  2. sockaddr* opAssign(Addr* addr)
    struct InetAddress(bool IPv6 = false)
    sockaddr*
    opAssign

Parameters

addr Addr*

input address

Return Value

Type: sockaddr*

a sockaddr pointer to this.addr.

In: addr must not be null.

Meta