Allow optional port number in rpc_ip command

This commit is contained in:
Vinnie Falco
2013-07-07 19:42:37 -07:00
parent 635165c724
commit 2d277dc307
3 changed files with 29 additions and 3 deletions

View File

@@ -181,6 +181,14 @@ public:
*/
int getRpcPort () const { return m_rpcPort; }
/** Set the client or server RPC IP and optional port.
@note The string is not syntax checked.
@param newAddress A string in the format <ip-address>[':'<port-number>]
*/
void setRpcIpAndOptionalPort (std::string const& newAddress);
/** Set the client or server RPC IP.
@note The string is not syntax-checked.