NetBurner 3.5.6
PDF Version |
Structure to use to create custom lists of listentiing ports and interfaces. More...
#include <init.h>
Structure to use to create custom lists of listentiing ports and interfaces.
If you want to control what sockets and or interfaces are used for the http(s) server Then make a global or static array of these structures. One of each combination of port and interface you want. open the listening socket (with whatever port, interface optiosn you want) and assign it to the fd_listen member. Also set if this is supposed to use TLS.
Lasttly make one extra entry in the array with a zero fd_listen to terminate the list.
fd_listen | The actiaon FD opened by listen or listen via for this entry |
bUseTls | true if you wnat this socket to use tls |