Variable: MLLP_BIND_ALL_INTERFACES
constMLLP_BIND_ALL_INTERFACES:"MLLP_BIND_ALL_INTERFACES"="MLLP_BIND_ALL_INTERFACES"
Emitted (server-side) once at listen() time when the server binds a
wildcard host ('0.0.0.0' or '::') with ServerOptions.allowWildcardBind: true.
Binding all interfaces widens the network exposure of the listener; this is
the loud, one-time reminder that the operator opted in.
Example
import { MLLP_BIND_ALL_INTERFACES } from '@cosyte/mllp';
server.on('securityWarning', (w) => {
if (w.code === MLLP_BIND_ALL_INTERFACES) logger.warn(w.message);
});