Added GetDestination UDPConnection call, changed behaviour to automatically set destination to source of last received packet.
This commit is contained in:
parent
3bf7fead7d
commit
069ae2c855
2 changed files with 35 additions and 10 deletions
|
@ -137,6 +137,7 @@ namespace Socket {
|
|||
int bind(int port);
|
||||
void setBlocking(bool blocking);
|
||||
void SetDestination(std::string hostname, uint32_t port);
|
||||
void GetDestination(std::string & hostname, uint32_t & port);
|
||||
bool Receive();
|
||||
void SendNow(const std::string & data);
|
||||
void SendNow(const char * data);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue