mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 00:55:20 +02:00
Add the option to bind to a specific address
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user