Added UDP getDestPort function

This commit is contained in:
Thulinma 2016-09-02 14:33:15 +02:00
parent 50e8c7638a
commit aedc8df494
2 changed files with 28 additions and 8 deletions

View file

@ -141,6 +141,7 @@ namespace Socket {
void setBlocking(bool blocking);
void SetDestination(std::string hostname, uint32_t port);
void GetDestination(std::string & hostname, uint32_t & port);
uint32_t getDestPort() const;
bool Receive();
void SendNow(const std::string & data);
void SendNow(const char * data);