Endpoint.this

Constructs an endpoint.

struct Endpoint
this
(
T
)
(,
const ushort port = anyPort
)
if (
is(T == Address) ||
is(T == Address4)
||
is(T == Address6)
)

Parameters

T

Address type (IPv4 or IPv6).

address T

IP address that should be associated with the endpoint.

port ushort

Port number in network byte order.

Meta