If the process has appropriate privilege, the bindresvport() function shall bind a socket to a privileged IP port.
On success, 0 is returned.
On error, -1 is returned and
the global variable
errno is set appropriately.
The process did not have appropriate privilege.
Address of sin did not match address family of sd.