mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-21 23:45:49 +08:00
Regularise the local address handling across all of the protocol.
This commit is contained in:
@@ -24,8 +24,8 @@
|
||||
|
||||
const unsigned int BUFFER_LENGTH = 600U;
|
||||
|
||||
CUDPController::CUDPController(const std::string& modemAddress, unsigned int modemPort, unsigned int localPort) :
|
||||
m_socket(localPort),
|
||||
CUDPController::CUDPController(const std::string& modemAddress, unsigned int modemPort, const std::string& localAddress, unsigned int localPort) :
|
||||
m_socket(localAddress, localPort),
|
||||
m_addr(),
|
||||
m_addrLen(0U),
|
||||
m_buffer(2000U, "UDP Controller Ring Buffer")
|
||||
|
||||
Reference in New Issue
Block a user