UDP socket edits by Erik Zandvliet

This commit is contained in:
Thulinma 2016-02-12 16:16:49 +01:00
parent d56e7f1408
commit 243595ff4d
2 changed files with 59 additions and 24 deletions

View file

@ -137,7 +137,7 @@ namespace Socket {
UDPConnection(bool nonblock = false);
~UDPConnection();
int getSock();
int bind(int port, std::string iface = "");
int bind(int port, std::string iface = "", const std::string & multicastAddress = "");
void setBlocking(bool blocking);
void SetDestination(std::string hostname, uint32_t port);
void GetDestination(std::string & hostname, uint32_t & port);