#include <socket.h>
Public Member Functions | |
sockaddr_in * | in (void) |
sockaddr_in6 * | in6 (void) |
linked_pointer (Socket::address &list) | |
linked_pointer () | |
linked_pointer (struct addrinfo *list) | |
void | next (void) |
sockaddr * | operator * () |
Return the full socket address list by pointer reference. | |
operator bool () | |
Test if the address list is valid. | |
operator struct sockaddr * () | |
Get the full socket address list by casted reference. | |
operator struct sockaddr_in * () | |
operator struct sockaddr_in6 * () | |
bool | operator! () |
Test if we have no address list. | |
socket_t | operator() (void) |
Get socket as expression operator. | |
sockaddr * | operator-> () |
Return member from typed object our pointer references. | |
void | operator= (Socket::address &list) |
Assign our pointer from an address list. | |
void | operator= (struct addrinfo *list) |
Assign our pointer from an address list. | |
void | set (Socket::address &list) |
Assign our pointer from an address list. | |
void | set (struct addrinfo *list) |
Assign our pointer from an address list. |
This can be used to iterate through the list of a Socket::address object using the linked_pointer method.
Definition at line 1679 of file socket.h.
struct sockaddr* ucommon::linked_pointer< sockaddr_struct >::operator * | ( | ) | [inline] |
Return the full socket address list by pointer reference.
Definition at line 1705 of file socket.h.
References ucommon::_getaddrinfo().
Here is the call graph for this function:
ucommon::linked_pointer< sockaddr_struct >::operator bool | ( | ) | [inline] |
ucommon::linked_pointer< sockaddr_struct >::operator struct sockaddr * | ( | ) | [inline] |
Get the full socket address list by casted reference.
Definition at line 1698 of file socket.h.
References ucommon::_getaddrinfo().
Here is the call graph for this function:
bool ucommon::linked_pointer< sockaddr_struct >::operator! | ( | ) | [inline] |
struct sockaddr* ucommon::linked_pointer< sockaddr_struct >::operator-> | ( | ) | [inline] |
Return member from typed object our pointer references.
Definition at line 1768 of file socket.h.
References ucommon::_getaddrinfo().
Here is the call graph for this function:
void ucommon::linked_pointer< sockaddr_struct >::operator= | ( | Socket::address & | list | ) | [inline] |
Assign our pointer from an address list.
pointer | of linked list. |
Definition at line 1746 of file socket.h.
References ucommon::Socket::address::getList().
Here is the call graph for this function:
void ucommon::linked_pointer< sockaddr_struct >::operator= | ( | struct addrinfo * | list | ) | [inline] |
void ucommon::linked_pointer< sockaddr_struct >::set | ( | Socket::address & | list | ) | [inline] |
Assign our pointer from an address list.
pointer | of linked list. |
Definition at line 1760 of file socket.h.
References ucommon::Socket::address::getList().
Here is the call graph for this function:
void ucommon::linked_pointer< sockaddr_struct >::set | ( | struct addrinfo * | list | ) | [inline] |