AF_INET6 is different between BSDs and Linux
AF_INET is the same constant on Linux and BSD but AF_INET6 is different. As the client and server can be running on different platforms we can not just set the socket family to what comes in the wire.
Showing
Please register or sign in to comment