mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add the option to bind to a specific address
This commit is contained in:
parent
7f743178db
commit
85fe75d1cb
12 changed files with 118 additions and 40 deletions
|
@ -115,7 +115,7 @@ class UDPSocket
|
|||
public:
|
||||
UDPSocket(bool ipv6);
|
||||
~UDPSocket();
|
||||
void Bind(unsigned short port);
|
||||
void Bind(Address addr);
|
||||
//void Close();
|
||||
//bool IsOpen();
|
||||
void Send(const Address & destination, const void * data, int size);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue