Add warning about zeroing-out the socket structure before populating it.

This commit is contained in:
Matthew Dillon 2001-10-13 17:20:51 +00:00
parent f530103a66
commit 418fff7e8f

View file

@ -64,6 +64,10 @@ needed (using
.Pp
The rules used in address binding vary between communication domains.
Consult the manual entries in section 4 for detailed information.
.Pp
For maximum portability, you should always zero-out the socket structure
before populating it, before passing it to
.Fn bind .
.Sh IMPLEMENTATION NOTES
In the non-threaded library
.Fn bind