mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Add warning about zeroing-out the socket structure before populating it.
This commit is contained in:
parent
f530103a66
commit
418fff7e8f
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue