XmlRpc++ 0.7 allows a server to specify the port it will
listen
on, but always listens on INADDR_ANY in terms of
selecting the
host (that is, one of the host's IP interfaces). That's
often
but always sufficient. Two examples where it's not:
o A server might need to be restricted to the localhost
interface, so it can only be contacted by clients running
on the
same system.
o A server might live on the border of a network, with
one
connection to the trusted local network, and a second
connection
to the public Internet. An XML-RPC server might need to
accept
internal but not external requests.
This patch extends the XmlRpc++ interface to allow the
host, as
well as the port, to be specified when creating an XML-
RPC
server.
This patch is copyright 2003 by dynamicsoft, and
released under
version 2.1 of the Lesser General Public License. It can
be
distributed under the same terms as XmlRpc++ itself.
Please direct any comments or questions to the
XmlRpc++ forum at
SourceForge.
--Paul S. R. Chisholm, dynamicsoft
Allow server to specify host as well as port