JoakimForslund
11/30/2019, 11:39 AMwith(serverAddr) {
memset(this.ptr, 0, sockaddr_in6.size.convert())
sin6_family = AF_INET6.convert()
sin6_addr.u = in6addr_any.u
sin6_port = htons(port.toUShort())
}
I'm trying to set the address for a IPv6 allocation, however, the structure for the sin_addr does not seem to have anything that is mutable?
At least, it seems to be done differently than with its IPv4 counterpart