Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jul 2001 11:20:07 -0700
From:      Bruce Dang <btdang@home.com>
To:        audit@freebsd.org
Subject:   PF_INET or AF_INET
Message-ID:  <3B59C7D7.83957F27@home.com>

next in thread | raw e-mail | index | archive | help
this is just a question, but how come some of the socket(2) calls use
AF_INET as its first arg. like sd = socket(AF_INET, SOCK_STREAM, 0);.
according to the man page, we should use PF_INET.  But either way, they
are basically the same macro and results to 2.  Should change the
socket(2) man page or change all AF_INET in socket calls to PF_INET...

Bruce

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-audit" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B59C7D7.83957F27>