|
WvStreams
|
An IP+Port address also includes a port number, with the resulting form www.xxx.yyy.zzz:pppp. More...
#include <wvaddr.h>

Public Member Functions | |
| WvIPPortAddr (const unsigned char _ipaddr[4], uint16_t _port=0) | |
| WvIPPortAddr (const WvIPAddr &_ipaddr, uint16_t _port=0) | |
| WvIPPortAddr (const char string[]) | |
| WvIPPortAddr (WvStringParm string) | |
| void | string_init (const char string[]) |
| WvIPPortAddr (uint16_t _port) | |
| WvIPPortAddr (const char string[], uint16_t _port) | |
| WvIPPortAddr (struct sockaddr_in *sin) | |
| virtual bool | comparator (const WvAddr *a2, bool first_pass=true) const |
| virtual const char * | type () const |
| virtual struct sockaddr * | sockaddr () const |
| virtual unsigned | WvHash () const |
| WvIPAddr | operator& (const WvIPAddr &a2) const |
| WvIPAddr | operator| (const WvIPAddr &a2) const |
| WvIPAddr | operator^ (const WvIPAddr &a2) const |
| WvIPAddr | operator~ () const |
| WvIPAddr | operator+ (int n) const |
| WvIPAddr | operator- (int n) const |
| uint32_t | addr () const |
| bool | is_zero () const |
| virtual WvEncap | encap () const |
| virtual size_t | sockaddr_len () const |
| virtual const unsigned char * | rawdata () const |
| virtual size_t | rawdata_len () const |
| operator WvString () const | |
| virtual bool | isbroadcast () const |
| bool | operator== (const WvAddr &a2) const |
| bool | operator!= (const WvAddr &a2) const |
Static Public Member Functions | |
| static WvAddr * | gen (struct sockaddr *addr) |
Public Attributes | |
| uint16_t | port |
| unsigned char | binaddr [4] |
Protected Member Functions | |
| virtual WvString | printable () const |
An IP+Port address also includes a port number, with the resulting form www.xxx.yyy.zzz:pppp.
Note that the rawdata() function is inherited from WvIPAddr, so it does not include the port number in the raw data.
|
inline |
| WvIPPortAddr::WvIPPortAddr | ( | const WvIPAddr & | _ipaddr, |
| uint16_t | _port = 0 |
||
| ) |
|
inline |
| WvIPPortAddr::WvIPPortAddr | ( | const char | string[], |
| uint16_t | _port | ||
| ) |
|
inline |
|
protectedvirtual |
|
virtual |
|
inlinevirtual |
|
virtual |
|
virtual |
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
|
staticinherited |
|
inlineinherited |
|
inlineinherited |