Home
FreeBSD
Search
Configure Global Search
Log In
Transactions
D45594
Change Details
Change Details
Old
New
Diff
1. Use `getaddrinfo` to replace `gethostbyname` and use for loop to loop the address list and copy the first meet ipv4 address. 2. Use `getnameinfo` to replace `gethostbyaddr`.
1. Use `getaddrinfo` to replace `gethostbyname`. 2. Use `getnameinfo` with `NI_NAMEREQD` flag to replace `gethostbyaddr`.
1. Use `getaddrinfo` to replace `gethostbyname`
and use for loop to
.
loop the address list and copy the first meet ipv4 address.
2. Use `getnameinfo`
with `NI_NAMEREQD` flag
to replace `gethostbyaddr`.
Continue