However, some historical (BSD) implementations required this header
file, and portable applications are probably wise to include it.
-The third argument of
-.BR bind ()
-is in reality an
-.I int
-(and this is what 4.x BSD and libc4 and libc5 have).
-Some POSIX confusion resulted in the present
-.IR socklen_t ,
-also used by glibc.
-See also
+For background on the
+.I socklen_t
+type, see
.BR accept (2).
.SH BUGS
The transparent proxy options are not described.
However, some historical (BSD) implementations required this header
file, and portable applications are probably wise to include it.
-The third argument of
-.BR connect ()
-is in reality an
-.I int
-(and this is what 4.x BSD and libc4 and libc5 have).
-Some POSIX confusion resulted in the present
-.IR socklen_t ,
-also used by glibc.
-See also
+For background on the
+.I socklen_t
+type, see
.BR accept (2).
If
.RB ( getpeername ()
first appeared in 4.2BSD).
.SH NOTES
-The third argument of
-.BR getpeername ()
-is in reality an
-.I "int\ *"
-(and this is what 4.x BSD and libc4 and libc5 have).
-Some POSIX confusion resulted in the present
-.IR socklen_t ,
-also used by glibc.
-See also
+For background on the
+.I socklen_t
+type, see
.BR accept (2).
For stream sockets, once a
.\" SVr4 documents additional ENOMEM
.\" and ENOSR error codes.
.SH NOTES
-The third argument of
-.BR getsockname ()
-is in reality an
-.I "int\ *"
-(and this is what 4.x BSD and libc4 and libc5 have).
-Some POSIX confusion resulted in the present
-.IR socklen_t ,
-also used by glibc.
-See also
+For background on the
+.I socklen_t
+type, see
.BR accept (2).
.SH SEE ALSO
.BR bind (2),
However, some historical (BSD) implementations required this header
file, and portable applications are probably wise to include it.
-The
-.I optlen
-argument of
-.BR getsockopt ()
-and
-.BR setsockopt ()
-is in reality an
-.I "int [*]"
-(and this is what 4.x BSD and libc4 and libc5 have).
-Some POSIX confusion resulted in the present
-.IR socklen_t ,
-also used by glibc.
-See also
+For background on the
+.I socklen_t
+type, see
.BR accept (2).
.SH BUGS
Several of the socket options should be handled at lower levels of the