ch4
use
getaddrinfo()
to get all the struct sockaddr infoChange
AF_INET
toAF_INET6
. ChangePF_INET
toPF_INET6
.Change
INADDR_ANY
assignments toin6addr_any
assignmentsInstead of
inet_aton()
orinet_addr()
,useinet_pton()
inet_ntoa()
,useinet_ntop()
etc...
Last updated