Hi Jon,
> Would it be diffucult to implement a configuration option to choose the ip
> address for the acceptor to listen on instead of INADDR_ANY?
I guess it should not be too difficult. Basically you have to extend the
function socket_createAcceptor() in src/C++/Utility.cpp to have an extra
parameter host (which could be a special value indicating INADDR_ANY).
Searching for the parameter SocketAcceptPort and SOCKET_ACCEPT_PORT and
socket_createAcceptor() on the other side should give a good indication
where the extra parameter would have to be added.
> We have multiple nics/ip addresses on our boxes which serve other
> purposes than Order Entry. >
> We simulated a nic failure in QA which didn't produce the expected results
> from QF - exception thrown resulting in a shutdown.
>
> I would imagine something like this in the config file:
>
> SocketAcceptAddress=192.168.254.254
> or
> SocketAcceptAddress=Any /* Or just leave it out for INADDR_ANY */
I would suggest SocketAcceptHost to match corresponding
SocketConnectHost. Otherwise, this is a good suggestion.
Cheers, Jörg
--
Joerg Thoennes
http://macd.com
Tel.: +49 (0)241 44597-24 Macdonald Associates GmbH
Fax : +49 (0)241 44597-10 Lothringer Str. 52, D-52070 Aachen
|