Starshatter_Open
Open source Starshatter engine
|
#include <NetAddr.h>
Public Member Functions | |
NetAddr (const char *a, WORD p=0) | |
NetAddr (DWORD a=0, WORD p=0) | |
NetAddr (const NetAddr &n) | |
int | operator== (const NetAddr &a) const |
DWORD | IPAddr () const |
BYTE | B4 () const |
BYTE | B3 () const |
BYTE | B2 () const |
BYTE | B1 () const |
WORD | Port () const |
void | SetPort (WORD p) |
sockaddr * | GetSockAddr () const |
size_t | GetSockAddrLength () const |
void | SetSockAddr (sockaddr *s, int size) |
void | InitFromSockAddr () |
Static Public Member Functions | |
static const char * | TYPENAME () |
NetAddr::NetAddr | ( | const char * | a, |
WORD | p = 0 |
||
) |
Definition at line 22 of file NetAddr.cpp.
NetAddr::NetAddr | ( | DWORD | a = 0 , |
WORD | p = 0 |
||
) |
Definition at line 46 of file NetAddr.cpp.
NetAddr::NetAddr | ( | const NetAddr & | n | ) |
Definition at line 52 of file NetAddr.cpp.
sockaddr * NetAddr::GetSockAddr | ( | ) | const |
Definition at line 80 of file NetAddr.cpp.
size_t NetAddr::GetSockAddrLength | ( | ) | const |
Definition at line 86 of file NetAddr.cpp.
void NetAddr::InitFromSockAddr | ( | ) |
Definition at line 71 of file NetAddr.cpp.
void NetAddr::SetSockAddr | ( | sockaddr * | s, |
int | size | ||
) |
Definition at line 94 of file NetAddr.cpp.