1
0
Fork 0
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:
ShadowNinja 2014-02-05 21:24:46 +01:00 committed by sapier
parent 7f743178db
commit 85fe75d1cb
12 changed files with 118 additions and 40 deletions

View file

@ -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);