Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update anetTcpAccept to handle AF_INET6 addresses.
Change the sockaddr_in to sockaddr_storage which is capable of storing both AF_INET and AF_INET6 sockets. Uses the sockaddr_storage ss_family to correctly return the printable IP address and port.
- Loading branch information