#include "nsd.h"Functions | |
| SOCKET | NsSockGetBound (struct sockaddr_in *saPtr) |
| void | NsInitBinder (void) |
| void | NsPreBind (char *args, char *file) |
| void | NsClosePreBound (void) |
| void NsClosePreBound | ( | void | ) |
----------------------------------------------------------------------
NsClosePreBound --
Close any remaining pre-bound sockets.
Results: None.
Side effects: Pre-bound sockets closed.
----------------------------------------------------------------------
| void NsInitBinder | ( | void | ) |
----------------------------------------------------------------------
NsInitBinder --
Initialize the pre-bind table.
Results: None.
Side effects: None.
----------------------------------------------------------------------
| void NsPreBind | ( | char * | args, | |
| char * | file | |||
| ) |
----------------------------------------------------------------------
NsPreBind --
Pre-bind any requested ports, called from Ns_Main at startup.
Results: None.
Side effects: May pre-bind to one or more ports.
----------------------------------------------------------------------
| SOCKET NsSockGetBound | ( | struct sockaddr_in * | saPtr | ) |
----------------------------------------------------------------------
NsSockGetBound --
Get a pre-bound socket if available.
Results: Socket descriptor or INVALID_SOCKET on error.
Side effects: None.
----------------------------------------------------------------------
1.5.1