|
Open Model Railroad Network (OpenMRN)
|
Go to the source code of this file.
Classes | |
| struct | addrinfo |
| Structure to contain information about address of a service provider. More... | |
Macros | |
| #define | EAI_AGAIN -3 |
| Temporary failure in name resolution. | |
| #define | EAI_FAIL -4 |
| , Non-recoverable failure in name res | |
| #define | EAI_MEMORY -10 |
| Memory allocation failure. | |
Functions | |
| const char * | gai_strerror (int __ecode) |
| see 'man gai_strerror' | |
| void | freeaddrinfo (struct addrinfo *ai) |
| see 'man freeaddrinfo' | |
| int | getaddrinfo (const char *nodename, const char *servname, const struct addrinfo *hints, struct addrinfo **res) |
| see 'man getaddrinfo' | |
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file implements POSIX netdb.h prototypes.
Definition in file netdb.h.
| void freeaddrinfo | ( | struct addrinfo * | ai | ) |
see 'man freeaddrinfo'
| ai | is the addrinfo structure, allocated by getaddrinfo, to be released. |
Definition at line 1112 of file net_cc3220/CC32xxSocket.cxx.
| const char * gai_strerror | ( | int | __ecode | ) |
see 'man gai_strerror'
| __ecode | is the error code |
Definition at line 1093 of file net_cc3220/CC32xxSocket.cxx.
| int getaddrinfo | ( | const char * | nodename, |
| const char * | servname, | ||
| const struct addrinfo * | hints, | ||
| struct addrinfo ** | res | ||
| ) |
see 'man getaddrinfo'
| nodename | what to look up (host name typically) |
| servname | local mDNS service name to look up |
| hints | not sure |
| res | an addrinfo strcture will be allocated into here |
Definition at line 1131 of file net_cc3220/CC32xxSocket.cxx.