Network/ENetHost: Add GetBoundAddress()
This commit is contained in:
parent
c1cbc8c617
commit
218d9f3974
|
|
@ -61,6 +61,7 @@ namespace Nz
|
|||
|
||||
void Flush();
|
||||
|
||||
inline Nz::IpAddress GetBoundAddress() const;
|
||||
inline UInt32 GetServiceTime() const;
|
||||
|
||||
int Service(ENetEvent* event, UInt32 timeout);
|
||||
|
|
|
|||
|
|
@ -52,6 +52,11 @@ namespace Nz
|
|||
m_socket.Close();
|
||||
}
|
||||
|
||||
inline Nz::IpAddress ENetHost::GetBoundAddress() const
|
||||
{
|
||||
return m_address;
|
||||
}
|
||||
|
||||
inline UInt32 Nz::ENetHost::GetServiceTime() const
|
||||
{
|
||||
return m_serviceTime;
|
||||
|
|
|
|||
Loading…
Reference in New Issue