mirror of
https://github.com/g4klx/MMDVMHost
synced 2026-02-04 22:05:41 +08:00
add IPv6 support for RemoteControl
To specify IP(v4/v6) address for RemoteControl port, add Address parameter in [RemoteControl] section to MMDVM.ini. Different from other Address(es), the default IP address of RemoteControl is 127.0.0.1 for security.
This commit is contained in:
@@ -38,7 +38,7 @@ enum REMOTE_COMMAND {
|
||||
|
||||
class CRemoteControl {
|
||||
public:
|
||||
CRemoteControl(unsigned int port);
|
||||
CRemoteControl(const std::string address, unsigned int port);
|
||||
~CRemoteControl();
|
||||
|
||||
bool open();
|
||||
|
||||
Reference in New Issue
Block a user