ngtcp2_addr_copy_byte
Synopsis
#include <ngtcp2/ngtcp2.h>
-
void ngtcp2_addr_copy_byte(ngtcp2_addr *dest, const ngtcp2_sockaddr *addr, ngtcp2_socklen addrlen)
ngtcp2_addr_copy_byte()
copies addr of length addrlen into the buffer pointed bydest->addr
.dest->addrlen
is updated to have addrlen. This function assumes thatdest->addr
points to a buffer which has a sufficient capacity to store the copy.