#include <ipxsock.h>
Public Member Functions | |
| Address () | |
| Address (const Address &addr) | |
| Address (const PString &str) | |
| Address (DWORD netNum, const char *nodeNum) | |
| Address & | operator= (const Address &addr) |
| operator PString () const | |
| PBoolean | IsValid () const |
Public Attributes | |
| union { | |
| struct { | |
| BYTE b1 | |
| BYTE b2 | |
| BYTE b3 | |
| BYTE b4 | |
| } b | |
| struct { | |
| WORD w1 | |
| WORD s_w2 | |
| } w | |
| DWORD dw | |
| } | network |
| BYTE | node [6] |
Friends | |
| ostream & | operator<< (ostream &strm, Address &addr) |
| PIPXSocket::Address::Address | ( | ) |
Create new, invalid, address.
| PIPXSocket::Address::Address | ( | const Address & | addr | ) |
Create copy of existing address
| addr | Address to copy |
| PIPXSocket::Address::Address | ( | const PString & | str | ) |
Create address from string representation.
| str | String representation of address |
| PIPXSocket::Address::Address | ( | DWORD | netNum, | |
| const char * | nodeNum | |||
| ) |
Create address from node and net numbers.
| netNum | IPX network number. |
| nodeNum | IPX node number (MAC address) |
Create copy of existing address
| addr | Address to copy |
| PIPXSocket::Address::operator PString | ( | ) | const |
Get string representation of IPX address
| PBoolean PIPXSocket::Address::IsValid | ( | ) | const |
Determine if address is valid. Note that this does not mean that the host is online.
| ostream& operator<< | ( | ostream & | strm, | |
| Address & | addr | |||
| ) | [friend] |
Output string representation of IPX address to stream.
| strm | Stream to output to |
| addr | Address to output |
| struct { ... } PIPXSocket::Address::b |
| struct { ... } PIPXSocket::Address::w |
| DWORD PIPXSocket::Address::dw |
| union { ... } PIPXSocket::Address::network |
| BYTE PIPXSocket::Address::node[6] |
1.5.1