working af_inet