mirror of
https://github.com/oe7drt/YSFClients.git
synced 2026-04-07 23:34:01 +00:00
add configuiration to bind to specific IP
This commit is contained in:
parent
815165141c
commit
0cfd041de9
7 changed files with 33 additions and 9 deletions
|
|
@ -40,7 +40,7 @@ public:
|
|||
CUDPSocket(unsigned int port = 0U);
|
||||
~CUDPSocket();
|
||||
|
||||
bool open();
|
||||
bool open(const char* bindaddr);
|
||||
|
||||
int read(unsigned char* buffer, unsigned int length, in_addr& address, unsigned int& port);
|
||||
bool write(const unsigned char* buffer, unsigned int length, const in_addr& address, unsigned int port);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue