Various UDP socket fixes
This commit is contained in:
parent
e8995f2457
commit
dd8eed7920
2 changed files with 63 additions and 30 deletions
|
@ -142,7 +142,7 @@ namespace Socket{
|
|||
~UDPConnection();
|
||||
void close();
|
||||
int getSock();
|
||||
int bind(int port, std::string iface = "", const std::string &multicastAddress = "");
|
||||
uint16_t 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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue