added command line and configuration file arguments to choose

the address and port to listen on or connect to.  changed the
default port and put it in ProtocolTypes.h.  the HTTP port is
now no longer opened unless the --http argument is supplied
or the config file includes it.
This commit is contained in:
crs
2002-06-09 16:53:25 +00:00
parent 8b2a282eb5
commit 555aa19eb2
14 changed files with 376 additions and 62 deletions

View File

@@ -5,7 +5,7 @@
//
XSocketAddress::XSocketAddress(Error error,
const CString& hostname, SInt16 port) throw() :
const CString& hostname, UInt16 port) throw() :
m_error(error),
m_hostname(hostname),
m_port(port)
@@ -23,7 +23,7 @@ CString XSocketAddress::getHostname() const throw()
return m_hostname;
}
SInt16 XSocketAddress::getPort() const throw()
UInt16 XSocketAddress::getPort() const throw()
{
return m_port;
}