mirror of
https://github.com/g4klx/DMRGateway.git
synced 2026-04-20 05:43:46 +00:00
replace sockaddr_in -> sockaddr_storage to support IPv6
This commit is contained in:
parent
47bc9c5bcd
commit
249bae1e7b
6 changed files with 122 additions and 108 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue