#include <socketinstance.h>
Inheritance diagram for ssobjects::SockAddr::
Public Methods | |
SockAddr () | |
SockAddr (const sockaddr &sa) | |
SockAddr (const sockaddr_in &sin) | |
SockAddr (const ULONG ulAddr, const USHORT ushPort=0) | |
SockAddr (const char *pchIP, const USHORT ushPort=0) | |
char * | dottedDecimal () |
USHORT | port () const |
ULONG | ipAddr () const |
const SockAddr & | operator= (const SOCKADDR &sa) |
const SockAddr & | operator= (const SOCKADDR_IN &sin) |
operator SOCKADDR () | |
operator LPSOCKADDR () | |
operator LPSOCKADDR_IN () | |
bool | operator== (const sockaddr_in &sa) |
Compairs two socket addresses. More... |
Provides a much easier way to access and manipulate a socket address structure.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Compairs two socket addresses. Does a compairison of the sin_family, sin_port and sin_addr to determine if the passed socket address is the same. sin_len & sin_zero are not checked as sin_len is not always implimented (Linux and Windows) and sin_zero is unused and only provided to make socket address structures at least 16-bytes in size.
|
|
|