#include <pils.h>
Inheritance diagram for PILSSession::MSIPAddress:
Public Member Functions | |
MSIPAddress (DWORD a=0) | |
MSIPAddress (const PIPSocket::Address &a) | |
MSIPAddress (const PString &dotNotation) | |
MSIPAddress (PINDEX len, const BYTE *bytes) | |
MSIPAddress & | operator= (DWORD a) |
Copy an address from a four byte value in network order. | |
MSIPAddress & | operator= (const PIPSocket::Address &a) |
MSIPAddress & | operator= (const PString &dotNotation) |
Copy an address from a string. | |
Friends | |
istream & | operator>> (istream &s, MSIPAddress &a) |
ostream & | operator<< (ostream &s, MSIPAddress &a) |
Microsoft in their infinite wisdom save the IP address as an little endian integer in the LDAP fild, but this was generated from a 32 bit integer that was in network byte order (big endian) which causes immense confusion. Reading directly into a PIPSocket::Address does not work as it assumes that any integer forms would be in host order. So we need to override the standard read function so the marchalling into the RTPerson structure works. All very sad.
PILSSession::MSIPAddress::MSIPAddress | ( | DWORD | a = 0 |
) | [inline] |
PILSSession::MSIPAddress::MSIPAddress | ( | const PIPSocket::Address & | a | ) | [inline] |
PILSSession::MSIPAddress::MSIPAddress | ( | const PString & | dotNotation | ) | [inline] |
PILSSession::MSIPAddress::MSIPAddress | ( | PINDEX | len, | |
const BYTE * | bytes | |||
) | [inline] |
MSIPAddress& PILSSession::MSIPAddress::operator= | ( | const PString & | dotNotation | ) | [inline] |
MSIPAddress& PILSSession::MSIPAddress::operator= | ( | const PIPSocket::Address & | a | ) | [inline] |
MSIPAddress& PILSSession::MSIPAddress::operator= | ( | DWORD | a | ) | [inline] |
ostream& operator<< | ( | ostream & | s, | |
MSIPAddress & | a | |||
) | [friend] |
istream& operator>> | ( | istream & | s, | |
MSIPAddress & | a | |||
) | [friend] |