C language function:getnameinfo sample codes

Search sample code in the internet.It is the result.


TITLE : zmq_msg_gets(3) - 0MQ Api
Additionally, when available for the underlying transport, the Peer-Address property will return the IP address of the remote endpoint as returned by getnameinfo(2)........
http://api.zeromq.org/4-1%3Azmq-msg-gets


TITLE : Some common networking operations in Perl « \1
The reverse process (from address to name) is performed using getnameinfo(), which is the counterpart to getaddrinfo(). Its usage is quite different from the C version and is as follows:.......
http://backreference.org/2014/12/11/some-common-networking-operations-in-perl/
TITLE : Some common networking operations in Perl « \1
my ($err, $hostname, $servicename) = getnameinfo($sockaddr, [$flags, [$xflags]]);.......
http://backreference.org/2014/12/11/some-common-networking-operations-in-perl/
TITLE : Some common networking operations in Perl « \1
Note that it accepts a sockaddr, so we pass it an address (IPv4 or IPv6) and a port. This should suggest that, just like getaddrinfo(), getnameinfo() can also do port to service name inverse resolution, which it indeed does (see below). Here we are concerned with reverse address resolution; in the following paragraph we'll do service port inverse resolution........
http://backreference.org/2014/12/11/some-common-networking-operations-in-perl/
TITLE : Some common networking operations in Perl « \1
Let's write some code to test getnameinfo():.......
http://backreference.org/2014/12/11/some-common-networking-operations-in-perl/
TITLE : Some common networking operations in Perl « \1
my ($err, $hostname, $servicename) = getnameinfo($sockaddr, $flags, $xflags);.......
http://backreference.org/2014/12/11/some-common-networking-operations-in-perl/
TITLE : Some common networking operations in Perl « \1
The new way is done again with getaddrinfo()/getnameinfo(), as explained above, since they can do hostname and service resolution on both directions (forward and reverse)........
http://backreference.org/2014/12/11/some-common-networking-operations-in-perl/
TITLE : iPhone Tip: No NSHost - bdunagan
getnameinfo(address, address->sa_len, ipAddress, INET6_ADDRSTRLEN, nil, 0, NI_NUMERICHOST);.......
http://bdunagan.com/2009/11/28/iphone-tip-no-nshost/
TITLE : getnameinfo()
getnameinfo().......
http://beej.us/guide/bgnet/output/html/multipage/getnameinfoman.html
TITLE : getnameinfo()
int getnameinfo(const struct sockaddr *sa, socklen_t salen,.......
http://beej.us/guide/bgnet/output/html/multipage/getnameinfoman.html
TITLE : getnameinfo()
Finally, there are several flags you can pass, but here a a couple good ones. NI_NOFQDN will cause the host to only contain the host name, not the whole domain name. NI_NAMEREQD will cause the function to fail if the name cannot be found with a DNS lookup (if you don't specify this flag and the name can't be found, getnameinfo() will put a string version of the IP address in host instead.).......
http://beej.us/guide/bgnet/output/html/multipage/getnameinfoman.html
TITLE : getnameinfo()
getnameinfo(&sa, sizeof sa, host, sizeof host, service, sizeof service, 0);.......
http://beej.us/guide/bgnet/output/html/multipage/getnameinfoman.html
TITLE : Getting info from your ESX server using the VMware Infrastructure (vSphere) Java API (Part 3)
String perfCounterString = perfCounterInfo.getNameInfo().getLabel() + " (" + perfCounterInfo.getGroupInfo().getKey() + ") in ".......
http://benohead.com/getting-info-from-your-esx-server-using-the-vmware-infrastructure-vsphere-java-api-part-3/
TITLE : Getting info from your ESX server using the VMware Infrastructure (vSphere) Java API (Part 3)
String perfCounterString = perfCounterInfo.getNameInfo().getLabel() + " (" + perfCounterInfo.getGroupInfo().getKey() + ") in ".......
http://benohead.com/getting-info-from-your-esx-server-using-the-vmware-infrastructure-vsphere-java-api-part-3/
TITLE : getnameinfo() example problem
* getnameinfo() example problem.......
http://cboard.cprogramming.com/c-programming/169902-getnameinfo-example-problem.html
TITLE : getnameinfo() example problem
Thread: getnameinfo() example problem.......
http://cboard.cprogramming.com/c-programming/169902-getnameinfo-example-problem.html
TITLE : getnameinfo() example problem
getnameinfo() example problem.......
http://cboard.cprogramming.com/c-programming/169902-getnameinfo-example-problem.html
TITLE : getnameinfo() example problem
int res = getnameinfo((struct sockaddr*)&sa, sizeof(sa), node, sizeof(node), NULL, 0, NI_NUMERICSERV | NI_NUMERICHOST );.......
http://cboard.cprogramming.com/c-programming/169902-getnameinfo-example-problem.html
TITLE : getnameinfo() example problem
int res = getnameinfo((struct sockaddr*)&sa, sizeof(sa),.......
http://cboard.cprogramming.com/c-programming/169902-getnameinfo-example-problem.html
TITLE : getnameinfo() example problem
error = getnameinfo(res->ai_addr, res->ai_addrlen, hostname, NI_MAXHOST, NULL, 0, 0);.......
http://cboard.cprogramming.com/c-programming/169902-getnameinfo-example-problem.html
TITLE : getnameinfo() example problem
getnameinfo().......
http://cboard.cprogramming.com/c-programming/169902-getnameinfo-example-problem.html
TITLE : getnameinfo()
* getnameinfo().......
http://cboard.cprogramming.com/linux-programming/94179-getnameinfo.html
TITLE : getnameinfo()
Thread: getnameinfo().......
http://cboard.cprogramming.com/linux-programming/94179-getnameinfo.html
TITLE : getnameinfo()
getnameinfo().......
http://cboard.cprogramming.com/linux-programming/94179-getnameinfo.html
TITLE : getnameinfo()
as I understand, getnameinfo() is used for reverse lookup i.e. to get hostname from the IP address. So, what's wrong with the following code.......
http://cboard.cprogramming.com/linux-programming/94179-getnameinfo.html
TITLE : getnameinfo()
int res = getnameinfo((struct sockaddr*)&sa, sizeof(sa), node, sizeof(node), NULL, 0, 0);.......
http://cboard.cprogramming.com/linux-programming/94179-getnameinfo.html
TITLE : getnameinfo()
If I use getnameinfo() with the address obtained with getaddrinfo() for example with.......
http://cboard.cprogramming.com/linux-programming/94179-getnameinfo.html
TITLE : getnameinfo()
if (getnameinfo(aip->ai_addr, sizeof(struct sockaddr), buf, 512, NULL, 0, 0) == 0).......
http://cboard.cprogramming.com/linux-programming/94179-getnameinfo.html
TITLE : getnameinfo()
int res = getnameinfo((struct sockaddr*)&sa, sizeof(sa), node, sizeof(node), NULL, 0, 0);.......
http://cboard.cprogramming.com/linux-programming/94179-getnameinfo.html
TITLE : c++ - Socket connect realization: gethostbyname or getnameinfo - Code Review Stack Exchange
socket.cpp:(.text+0x374): warning: gethostbyname is obsolescent, use getnameinfo() instead........
http://codereview.stackexchange.com/questions/17863/socket-connect-realization-gethostbyname-or-getnameinfo
TITLE : c++ - Socket connect realization: gethostbyname or getnameinfo - Code Review Stack Exchange
if ( ( host = (hostent*) getnameinfo(.......
http://codereview.stackexchange.com/questions/17863/socket-connect-realization-gethostbyname-or-getnameinfo
TITLE : Powershell Script to create a gSelf-Signed Certificateh that works on Dynamics NAV Ipad APP - Microsoft Dynamics NAV Community
$dnsidentity = $cert.GetNameInfo(eSimpleNamef,$false).......
http://community.dynamics.com/nav/b/arounddynamicsnavworld/archive/2015/07/15/powershell-script-to-create-a-self-signed-certificate-that-works-on-dynamics-nav-ipad-app
TITLE : getnameinfo-sample - Shammerism
// if (getnameinfo(sa, sa->sa_len, hbuf, sizeof(hbuf), sbuf, sizeof(sbuf), NI_NUMERICHOST | NI_NUMERICSERV)) {.......
http://d.hatena.ne.jp/shammer/20091212/1390951663
TITLE : getnameinfo-sample - Shammerism
getnameinfo((struct sockaddr *)res->ai_addr,.......
http://d.hatena.ne.jp/shammer/20091212/1390951663
TITLE : iOSApp/MainViewController.swift
let success = getnameinfo(.......
http://developer.apple.com/library/content/samplecode/SimplePing/Listings/iOSApp_MainViewController_swift.html
TITLE : getaddrinfo() and pthread !? (Page 1) / Threads / UNIX Socket FAQ
In a multi-threaded program, you should only use gethostbyaddr_r() / gethostbyname_r() or getaddrinfo() / getnameinfo()........
http://developerweb.net/viewtopic.php@id=3421
TITLE : getaddrinfo() and pthread !? (Page 1) / Threads / UNIX Socket FAQ
In the systrace i have a "real time" signal after prthread_create() (if i use gethostbyname(), getaddrinfo(), getnameinfo(), etc) see:.......
http://developerweb.net/viewtopic.php@id=3421
TITLE : getaddrinfo() and pthread !? (Page 1) / Threads / UNIX Socket FAQ
The output of ltrace and strace are equal when i used gethostbyname() or getnameinfo() ... , my program didn't execute anymore... :(.......
http://developerweb.net/viewtopic.php@id=3421
TITLE : getaddrinfo() and pthread !? (Page 1) / Threads / UNIX Socket FAQ
In a multi-threaded program, you should only use gethostbyaddr_r() / gethostbyname_r() or getaddrinfo() / getnameinfo()........
http://developerweb.net/viewtopic.php@id=3421
TITLE : Live Code Examples (Network Interface Guide)
The seventh example is a port of myserver to IPv6 that uses getnameinfo(3SOCKET) to simplify the logging of the peer's address and name. This is the recommended way to do this port from IPv4 to IPv6........
http://docs.oracle.com/cd/E19455-01/806-1017/6jab5di3i/index.html
TITLE : Live Code Examples (Network Interface Guide)
error = getnameinfo((struct sockaddr *)&faddr, faddrlen,.......
http://docs.oracle.com/cd/E19455-01/806-1017/6jab5di3i/index.html
TITLE : 18.1. socket Low-level networking interface — Python 3.4.7rc1 documentation
A subclass of OSError, this exception is raised for address-related errors by getaddrinfo() and getnameinfo(). The accompanying value is a pair (error, string) representing an error returned by a library call. string represents the description of error, as returned by the gai_strerror() C function. The numeric error value will match one of the EAI_* constants defined in this module........
http://docs.python.org/3.4/library/socket.html
TITLE : 18.1. socket Low-level networking interface — Python 3.4.7rc1 documentation
socket.getnameinfo(sockaddr, flags).......
http://docs.python.org/3.4/library/socket.html
TITLE : class Socket - Documentation for Ruby 2.1.0
getnameinfo(sockaddr [, flags]) [hostname, servicename] click to toggle source.......
http://docs.ruby-lang.org/en/2.1.0/Socket.html
TITLE : class Socket - Documentation for Ruby 2.1.0
Socket.getnameinfo(Socket.sockaddr_in(80, "127.0.0.1")) #=> ["localhost", "www"].......
http://docs.ruby-lang.org/en/2.1.0/Socket.html
TITLE : class Socket - Documentation for Ruby 2.1.0
Socket.getnameinfo(["AF_INET", 80, "127.0.0.1"]) #=> ["localhost", "www"].......
http://docs.ruby-lang.org/en/2.1.0/Socket.html
TITLE : class Socket - Documentation for Ruby 2.1.0
Socket.getnameinfo(["AF_INET", 80, "localhost", "127.0.0.1"]) #=> ["localhost", "www"].......
http://docs.ruby-lang.org/en/2.1.0/Socket.html
TITLE : class Socket - Documentation for Ruby 2.1.0
sock_s_getnameinfo(int argc, VALUE *argv).......
http://docs.ruby-lang.org/en/2.1.0/Socket.html
TITLE : class Socket - Documentation for Ruby 2.1.0
error = rb_getnameinfo(sap, salen, hbuf, sizeof(hbuf),.......
http://docs.ruby-lang.org/en/2.1.0/Socket.html
TITLE : class Socket - Documentation for Ruby 2.1.0
error = rb_getnameinfo(sap, salen, hbuf2, sizeof(hbuf2),.......
http://docs.ruby-lang.org/en/2.1.0/Socket.html
TITLE : HTTPS and X509 certificates in .NET Part 4: working with certificates in code | Exercises in .NET with Andras Nemes
string nameInfo = certificate.GetNameInfo(X509NameType.SimpleName, true);.......
http://dotnetcodr.com/2015/06/08/https-and-x509-certificates-in-net-part-4-working-with-certificates-in-code/
TITLE : HTTPS and X509 certificates in .NET Part 4: working with certificates in code | Exercises in .NET with Andras Nemes
Debug.WriteLine(cert.GetNameInfo(X509NameType.SimpleName, true));.......
http://dotnetcodr.com/2015/06/08/https-and-x509-certificates-in-net-part-4-working-with-certificates-in-code/
TITLE : Basic source-to-source transformation with Clang - Eli Bendersky's website
DeclarationName DeclName = f->getNameInfo().getName();.......
http://eli.thegreenplace.net/2012/06/08/basic-source-to-source-transformation-with-clang
TITLE : C Programming/netdb.h/getaddrinfo - Wikibooks, open books for an open world
The getaddrinfo() and getnameinfo() functions are part of the POSIX standard application programming interface (API) for converting domain name system (DNS) hostnames and IP addresses between their human-readable text representations and structured binary formats for the operating system's networking API........
http://en.wikibooks.org/wiki/C_Programming/netdb.h/getaddrinfo
TITLE : C Programming/netdb.h/getaddrinfo - Wikibooks, open books for an open world
getaddrinfo() and getnameinfo() are inverse functions of each other........
http://en.wikibooks.org/wiki/C_Programming/netdb.h/getaddrinfo
TITLE : C Programming/netdb.h/getaddrinfo - Wikibooks, open books for an open world
* 3 getnameinfo().......
http://en.wikibooks.org/wiki/C_Programming/netdb.h/getaddrinfo
TITLE : C Programming/netdb.h/getaddrinfo - Wikibooks, open books for an open world
getnameinfo()[edit].......
http://en.wikibooks.org/wiki/C_Programming/netdb.h/getaddrinfo
TITLE : C Programming/netdb.h/getaddrinfo - Wikibooks, open books for an open world
getnameinfo() converts the internal binary representation of an IP address in the form of a struct sockaddr pointer into text strings consisting of the hostname or, if the address cannot be resolved into a name, a textual IP address representation, as well as the service port name or number. The function prototype is specified as follows:.......
http://en.wikibooks.org/wiki/C_Programming/netdb.h/getaddrinfo
TITLE : C Programming/netdb.h/getaddrinfo - Wikibooks, open books for an open world
int getnameinfo(const struct sockaddr *sa, socklen_t salen,.......
http://en.wikibooks.org/wiki/C_Programming/netdb.h/getaddrinfo
TITLE : C Programming/netdb.h/getaddrinfo - Wikibooks, open books for an open world
The following example uses getaddrinfo() to resolve the domain name www.example.com into its list of addresses and then calls getnameinfo() on each result to return the canonical name for the address. In general, this will produce the original hostname, unless the particular address has multiple names, in which case the canonical name is returned. In this example, the domain name will be printed three times, once for each of the three results obtained........
http://en.wikibooks.org/wiki/C_Programming/netdb.h/getaddrinfo
TITLE : C Programming/netdb.h/getaddrinfo - Wikibooks, open books for an open world
error = getnameinfo(res->ai_addr, res->ai_addrlen, hostname, NI_MAXHOST, NULL, 0, 0);.......
http://en.wikibooks.org/wiki/C_Programming/netdb.h/getaddrinfo
TITLE : getaddrinfo - Wikipedia
The functions getaddrinfo() and getnameinfo() convert domain names, hostnames, and IP addresses between human-readable text representations and structured binary formats for the operating system's networking API. Both functions are contained in the POSIX standard application programming interface (API)........
http://en.wikipedia.org/wiki/Getaddrinfo
TITLE : getaddrinfo - Wikipedia
* 3 getnameinfo().......
http://en.wikipedia.org/wiki/Getaddrinfo
TITLE : getaddrinfo - Wikipedia
getnameinfo()[edit].......
http://en.wikipedia.org/wiki/Getaddrinfo
TITLE : getaddrinfo - Wikipedia
getnameinfo() converts the internal binary representation of an IP address in the form of a struct sockaddr pointer into text strings consisting of the hostname or, if the address cannot be resolved into a name, a textual IP address representation, as well as the service port name or number. The function prototype is specified as follows:.......
http://en.wikipedia.org/wiki/Getaddrinfo
TITLE : getaddrinfo - Wikipedia
int getnameinfo(const struct sockaddr* sa, socklen_t salen,.......
http://en.wikipedia.org/wiki/Getaddrinfo
TITLE : getaddrinfo - Wikipedia
The following example uses getaddrinfo() to resolve the domain name www.example.com into its list of addresses and then calls getnameinfo() on each result to return the canonical name for the address. In general, this produces the original hostname, unless the particular address has multiple names, in which case the canonical name is returned. In this example, the domain name is printed three times, once for each of the three results obtained........
http://en.wikipedia.org/wiki/Getaddrinfo
TITLE : getaddrinfo - Wikipedia
error = getnameinfo(res->ai_addr, res->ai_addrlen, hostname, NI_MAXHOST, NULL, 0, 0);.......
http://en.wikipedia.org/wiki/Getaddrinfo
TITLE : Cross Compiling Ruby for ARM. « SliTaz Forum
But your getaddrinfo() and getnameinfo() are appeared to be broken. Sorry,.......
http://forum.slitaz.org/topic/cross-compiling-ruby-for-arm
TITLE : example to list network interfaces on linux/bsd/osx/etc GitHub
getnameinfo(&ifreq.ifr_addr, sizeof ifreq.ifr_addr, host, sizeof host, 0, 0, NI_NUMERICHOST);.......
http://gist.github.com/OrangeTide/909204
TITLE : Understanding the Clang AST
const std::string funcName = func->getNameInfo().getAsString();.......
http://jonasdevlieghere.com/understanding-the-clang-ast/
TITLE : (2004-2017) :: gethostbyname, getaddrinfo
if (error = getnameinfo(res->ai_addr, sizeof(struct sockaddr), hostname, sizeof(hostname), NULL,0,0)) {.......
http://knight76.tistory.com/entry/30028207524
TITLE : Programming using C-API
The last function that will be mentioned in this section is getnameinfo(3). This function is the inverse of getaddrinfo(3); it is used to create a string representation of the hostname and service from a generic struct sockaddr data object. It has the following prototype........
http://ldp.linux.no/HOWTO/Linux+IPv6-HOWTO/chapter-section-using-api.html
TITLE : Programming using C-API
int getnameinfo( const struct sockaddr *sa, socklen_t salen, char *host, size_t hostlen, char *serv, size_t servlen, int flags );.......
http://ldp.linux.no/HOWTO/Linux+IPv6-HOWTO/chapter-section-using-api.html
TITLE : Programming using C-API
The symbols NI_MAXHOST and NI_MAXSERV are available to applications and represent the maximum size of any converted hostname or service name, respectively. Use these when declaring output buffers for getnameinfo(3)........
http://ldp.linux.no/HOWTO/Linux+IPv6-HOWTO/chapter-section-using-api.html
TITLE : getnameinfo(3) - Linux man page
getnameinfo(3) - Linux man page.......
http://linux.die.net/man/3/getnameinfo
TITLE : getnameinfo(3) - Linux man page
int getnameinfo(const struct sockaddr *sa, socklen_t salen,.......
http://linux.die.net/man/3/getnameinfo
TITLE : getnameinfo(3) - Linux man page
getnameinfo(): _POSIX_C_SOURCE >= 1 || _XOPEN_SOURCE || _POSIX_SOURCE.......
http://linux.die.net/man/3/getnameinfo
TITLE : getnameinfo(3) - Linux man page
The getnameinfo() function is the inverse of getaddrinfo(3): it converts a socket address to a corresponding host and service, in a protocol-independent manner. It combines the functionality of gethostbyaddr(3) and getservbyport(3), but unlike those functions, getnameinfo() is reentrant and allows programs to eliminate IPv4-versus-IPv6 dependencies........
http://linux.die.net/man/3/getnameinfo
TITLE : getnameinfo(3) - Linux man page
The sa argument is a pointer to a generic socket address structure (of type sockaddr_in or sockaddr_in6) of size salen that holds the input IP address and port number. The arguments host and serv are pointers to caller-allocated buffers (of size hostlen and servlen respectively) into which getnameinfo() places null-terminated strings containing the host and service names respectively........
http://linux.die.net/man/3/getnameinfo
TITLE : getnameinfo(3) - Linux man page
The flags argument modifies the behavior of getnameinfo() as follows:.......
http://linux.die.net/man/3/getnameinfo
TITLE : getnameinfo(3) - Linux man page
Extensions to getnameinfo() for Internationalized Domain Names.......
http://linux.die.net/man/3/getnameinfo
TITLE : getnameinfo(3) - Linux man page
Starting with glibc 2.3.4, getnameinfo() has been extended to selectively allow hostnames to be transparently converted to and from the Internationalized Domain Name (IDN) format (see RFC 3490, Internationalizing Domain Names in Applications (IDNA)). Three new flags are defined:.......
http://linux.die.net/man/3/getnameinfo
TITLE : getnameinfo(3) - Linux man page
getnameinfo() is provided in glibc since version 2.1........
http://linux.die.net/man/3/getnameinfo
TITLE : getnameinfo(3) - Linux man page
if (getnameinfo(sa, len, hbuf, sizeof(hbuf), sbuf,.......
http://linux.die.net/man/3/getnameinfo
TITLE : getnameinfo(3) - Linux man page
if (getnameinfo(sa, len, hbuf, sizeof(hbuf),.......
http://linux.die.net/man/3/getnameinfo
TITLE : getnameinfo(3) - Linux man page
An example program using getnameinfo() can be found in getaddrinfo(3)........
http://linux.die.net/man/3/getnameinfo
TITLE : getnameinfo(3) - Linux man page
addrinfo(1), cnetdb(3), gethostbyname(3), getifaddrs(3), getipnodebyname(3), inet_addr(3), libbind-getaddrinfo(3), libval_shim(3), lwres_getnameinfo(3), name2addr(1), val_getaddrinfo(3).......
http://linux.die.net/man/3/getnameinfo
TITLE : New socket API: recvmmsg [LWN.net]
int err = getnameinfo(datagram->msg_hdr.msg_name,.......
http://lwn.net/Articles/334532/
TITLE : GETHOSTBYNAME (3) | C library functions | Unix Manual Pages | :man|
Bf -symbolic The getaddrinfo(3) and getnameinfo(3) functions are preferred over the gethostbyname, gethostbyname2, and gethostbyaddr functions........
http://man.freetechsecrets.com/gethostbyname.3.html
TITLE : GETHOSTBYNAME (3) | C library functions | Unix Manual Pages | :man|
getaddrinfo(3), getnameinfo(3), inet_aton(3), resolver(3), hosts(5), hostname(7), named(8).......
http://man.freetechsecrets.com/gethostbyname.3.html
TITLE : getnameinfo(3) - Linux manual page
GETNAMEINFO(3) Linux Programmer's Manual GETNAMEINFO(3).......
http://man7.org/linux/man-pages/man3/getnameinfo.3.html
TITLE : getnameinfo(3) - Linux manual page
int getnameinfo(const struct sockaddr *addr, socklen_t addrlen,.......
http://man7.org/linux/man-pages/man3/getnameinfo.3.html
TITLE : getnameinfo(3) - Linux manual page
getnameinfo():.......
http://man7.org/linux/man-pages/man3/getnameinfo.3.html
TITLE : getnameinfo(3) - Linux manual page
The getnameinfo() function is the inverse of getaddrinfo(3): it.......
http://man7.org/linux/man-pages/man3/getnameinfo.3.html
TITLE : getnameinfo(3) - Linux manual page
getnameinfo() is reentrant and allows programs to eliminate.......
http://man7.org/linux/man-pages/man3/getnameinfo.3.html
TITLE : getnameinfo(3) - Linux manual page
respectively) into which getnameinfo() places null-terminated strings.......
http://man7.org/linux/man-pages/man3/getnameinfo.3.html
TITLE : getnameinfo(3) - Linux manual page
The flags argument modifies the behavior of getnameinfo() as follows:.......
http://man7.org/linux/man-pages/man3/getnameinfo.3.html
TITLE : getnameinfo(3) - Linux manual page
Extensions to getnameinfo() for Internationalized Domain Names.......
http://man7.org/linux/man-pages/man3/getnameinfo.3.html
TITLE : getnameinfo(3) - Linux manual page
Starting with glibc 2.3.4, getnameinfo() has been extended to.......
http://man7.org/linux/man-pages/man3/getnameinfo.3.html
TITLE : getnameinfo(3) - Linux manual page
getnameinfo() is provided in glibc since version 2.1........
http://man7.org/linux/man-pages/man3/getnameinfo.3.html
TITLE : getnameinfo(3) - Linux manual page
getnameinfo() Thread safety MT-Safe env locale .......
http://man7.org/linux/man-pages/man3/getnameinfo.3.html
TITLE : getnameinfo(3) - Linux manual page
if (getnameinfo(addr, addrlen, hbuf, sizeof(hbuf), sbuf,.......
http://man7.org/linux/man-pages/man3/getnameinfo.3.html
TITLE : getnameinfo(3) - Linux manual page
if (getnameinfo(addr, addrlen, hbuf, sizeof(hbuf),.......
http://man7.org/linux/man-pages/man3/getnameinfo.3.html
TITLE : getnameinfo(3) - Linux manual page
An example program using getnameinfo() can be found in.......
http://man7.org/linux/man-pages/man3/getnameinfo.3.html
TITLE : getnameinfo(3) - Linux manual page
GNU 2016-03-15 GETNAMEINFO(3).......
http://man7.org/linux/man-pages/man3/getnameinfo.3.html
TITLE : getnameinfo function (Windows)
int WSAAPI getnameinfo(.......
http://msdn.microsoft.com/ja-jp/library/windows/desktop/ms738532(v=vs.85).aspx
TITLE : getnameinfo function (Windows)
dwRetval = getnameinfo((struct sockaddr *) &saGNI,.......
http://msdn.microsoft.com/ja-jp/library/windows/desktop/ms738532(v=vs.85).aspx
TITLE : Serious Network Function Vulnerability Found In Glibc - Slashdot
The affected call is gethostbyname() and friends, which have been deprecated by the more protocol-transparent getaddrinfo()/getnameinfo() set of APIs. If you use IPv6, getaddrinfo() is the only way (gethostbyname() and friends are AF_INET (IPv4) functions only), but they're protocol transparent ways to do DNS lookups (they can return AF_INET, AF_INET6 and any other valid address supported by the system and DNS)........
http://news.slashdot.org/story/15/01/27/1925208/serious-network-function-vulnerability-found-in-glibc
TITLE : CVE-2015-0235 GHOST: glibc gethostbyname buffer overflow | Hacker News
"The gethostbyname(), gethostbyaddr(), herror(), and hstrerror() functions are obsolete. Applications should use getaddrinfo(3), getnameinfo(3), and gai_strerror(3) instead.".......
http://news.ycombinator.com/item@id=8953545
TITLE : Tutorial: HTTP/2 server — nghttp2 1.26.0-DEV documentation
rv = getnameinfo(addr, (socklen_t)addrlen, host, sizeof(host), NULL, 0,.......
http://nghttp2.org/documentation/tutorial-server.html
TITLE : Porting IPv4 applications to IPv6
* getnameinfo(S).......
http://osr600doc.xinuos.com/en/SDK_netapi/sockC.PortIPv4appIPv6.html
TITLE : Porting IPv4 applications to IPv6
getaddrinfo(S) and getnameinfo(S) can be used for IPv4 and IPv6 applications. There are similar functions already defined; gethostbyname(S) and gethostbyname2(S) are similar to getaddrinfo(S), and gethostbyaddr(S) is similar to getnameinfo(S). The difference between the new and the old functions is that the newer functions are protocol independent, and therefore can support IPv6........
http://osr600doc.xinuos.com/en/SDK_netapi/sockC.PortIPv4appIPv6.html
TITLE : Porting IPv4 applications to IPv6
Consider using getaddrinfo(S) and getnameinfo(S) instead of their older counterparts in you applications. The resulting code will be clearer and more portable........
http://osr600doc.xinuos.com/en/SDK_netapi/sockC.PortIPv4appIPv6.html
TITLE : PHP: Memcached::set - Manual
= MEMCACHED_HOST_LOOKUP_FAILURE // getaddrinfo() and getnameinfo() only.......
http://php.net/manual/ja/memcached.set.php
TITLE : Network and Web Libraries
Socket.getnameinfo( addr [, flags] ) anArray.......
http://phrogz.net/ProgrammingRuby/lib_network.html
TITLE : Network and Web Libraries
a = Socket.getnameinfo(["AF_INET", '23', 'www.ruby-lang.org']) a ["helium.ruby-lang.org", "telnet"].......
http://phrogz.net/ProgrammingRuby/lib_network.html
TITLE : getnameinfo
int getnameinfo(const struct sockaddr *restrict sa, socklen_t salen,.......
http://pubs.opengroup.org/onlinepubs/009695399/functions/getnameinfo.html
TITLE : getnameinfo
The getnameinfo() function shall translate a socket address to a node name and service location, all of which are defined as in getaddrinfo()........
http://pubs.opengroup.org/onlinepubs/009695399/functions/getnameinfo.html
TITLE : getnameinfo
The getnameinfo() function shall be thread-safe........
http://pubs.opengroup.org/onlinepubs/009695399/functions/getnameinfo.html
TITLE : getnameinfo
A zero return value for getnameinfo() indicates successful completion; a non-zero return value indicates failure. The possible values for the failures are listed in the ERRORS section........
http://pubs.opengroup.org/onlinepubs/009695399/functions/getnameinfo.html
TITLE : getnameinfo
Upon successful completion, getnameinfo() shall return the node and service names, if requested, in the buffers provided. The returned names are always null-terminated strings........
http://pubs.opengroup.org/onlinepubs/009695399/functions/getnameinfo.html
TITLE : getnameinfo
The getnameinfo() function shall fail and return the corresponding value if:.......
http://pubs.opengroup.org/onlinepubs/009695399/functions/getnameinfo.html
TITLE : getnameinfo
The restrict keyword is added to the getnameinfo() prototype for alignment with the ISO/IEC 9899:1999 standard........
http://pubs.opengroup.org/onlinepubs/009695399/functions/getnameinfo.html
TITLE : Retrieving vSphere Performance Data
String counterName = perfCounter.getNameInfo().getKey();.......
http://pubs.vmware.com/vsphere-50/topic/com.vmware.wssdk.pg.doc_50/PG_Ch16_Performance.18.4.html
TITLE : Retrieving vSphere Performance Data
+ pci.getNameInfo().getKey() + ".".......
http://pubs.vmware.com/vsphere-50/topic/com.vmware.wssdk.pg.doc_50/PG_Ch16_Performance.18.4.html
TITLE : Ubuntu16.04(kernel4.4)PT2 - Qiita
+ error = getnameinfo((struct sockaddr *)&peer_sin, sizeof(peer_sin), hbuf, sizeof(hbuf), NULL, 0, 0);.......
http://qiita.com/kummn/items/dc2ae0a22e6175762d06
TITLE : Ubuntu16.04(kernel4.4)PT2 - Qiita
+ fprintf(stderr, "getnameinfo(): %s\n", gai_strerror(error));.......
http://qiita.com/kummn/items/dc2ae0a22e6175762d06
TITLE : Ubuntu16.04(kernel4.4)PT2 - Qiita
+ error = getnameinfo((struct sockaddr *)&peer_sin, sizeof(peer_sin), nhbuf, sizeof(nhbuf), sbuf, sizeof(sbuf), NI_NUMERICHOST | NI_NUMERICSERV);.......
http://qiita.com/kummn/items/dc2ae0a22e6175762d06
TITLE : Ubuntu16.04(kernel4.4)PT2 - Qiita
+ fprintf(stderr, "getnameinfo(): %s\n", gai_strerror(error));.......
http://qiita.com/kummn/items/dc2ae0a22e6175762d06
search Google

https://www.google.com/#q=getnameinfo