mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-21 12:49:10 +00:00
Doxygen plNetAddress to make it less confusing.
This commit is contained in:
@ -107,11 +107,6 @@ uint32_t plNetAddress::GetHost() const
|
||||
return fAddr.sin_addr.s_addr;
|
||||
}
|
||||
|
||||
uint32_t plNetAddress::GetHostLE() const
|
||||
{
|
||||
return ntohl(fAddr.sin_addr.s_addr);
|
||||
}
|
||||
|
||||
plString plNetAddress::GetHostWithPort() const
|
||||
{
|
||||
plStringStream ss;
|
||||
@ -133,13 +128,6 @@ bool plNetAddress::SetHost(uint32_t addr)
|
||||
return true;
|
||||
}
|
||||
|
||||
bool plNetAddress::SetHostLE(uint32_t addr)
|
||||
{
|
||||
fAddr.sin_addr.s_addr = htonl(addr);
|
||||
fAddr.sin_family = AF_INET;
|
||||
return true;
|
||||
}
|
||||
|
||||
plString plNetAddress::AsString() const
|
||||
{
|
||||
plStringStream ss;
|
||||
|
Reference in New Issue
Block a user