Implemented UDPConnection::getSock()
This commit is contained in:
parent
0fa40bb373
commit
54c31922f7
2 changed files with 5 additions and 0 deletions
|
@ -1162,3 +1162,7 @@ bool Socket::UDPConnection::Receive(){
|
|||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
int Socket::UDPConnection::getSock(){
|
||||
return sock;
|
||||
}
|
||||
|
|
|
@ -137,6 +137,7 @@ namespace Socket {
|
|||
UDPConnection(const UDPConnection & o);
|
||||
UDPConnection(bool nonblock = false);
|
||||
~UDPConnection();
|
||||
int getSock();
|
||||
int bind(int port);
|
||||
void setBlocking(bool blocking);
|
||||
void SetDestination(std::string hostname, uint32_t port);
|
||||
|
|
Loading…
Add table
Reference in a new issue