mirror of
https://github.com/g4klx/DMRGateway
synced 2025-12-22 14:16:08 +08:00
replace sockaddr_in -> sockaddr_storage to support IPv6
This commit is contained in:
@@ -59,8 +59,8 @@ public:
|
||||
virtual void close();
|
||||
|
||||
private:
|
||||
in_addr m_rptAddress;
|
||||
unsigned int m_rptPort;
|
||||
sockaddr_storage m_rptAddress;
|
||||
unsigned int m_rptAddrLen;
|
||||
unsigned int m_id;
|
||||
unsigned char* m_netId;
|
||||
bool m_debug;
|
||||
|
||||
Reference in New Issue
Block a user