Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

addrinfo(1) [debian man page]

addrinfo(1)							  sofia-sip-utils						       addrinfo(1)

NAME
addrinfo - Resolve network services Synopsis addrinfo [-pcn46] service-name host Description The addrinfo utility will use su_getaddrinfo() to resolve the network services and print resolved names. See sect 6.1 of RFC3493 and the getaddrinfo(3) manual page of POSIX 1003.1g, for more information. Options The addrinfo utility accepts following ccommand line options: -p use passive open. -c get canonic name. -n use numeric host names. -4 IPv4 only. -6 IPv6 only (but including mapped IPv4 addresses). Reporting Bugs Report bugs to <sofia-sip-devel@lists.sourceforge.net>. Author Written by Pekka Pessi <pekka -dot pessi -at- nokia -dot- com> Copyright Copyright (C) 2005,2007 Nokia Corporation. This program is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Version 1.12.11devel Sat May 7 2011 addrinfo(1)

Check Out this Related Man Page

sip-options(1)							  sofia-sip-utils						    sip-options(1)

NAME
sip-options - Query SIP OPTIONS Synopsis sip-options [OPTIONS] target-uri Description The sip-options utility sends a SIP OPTIONS request (or any other SIP request) to a SIP server. The sip-options tool will print out status line and interesting headers from the response, excluding From, Via, Call-ID, and CSeq. The message body is also printed. Command Line Options The options utility accepts following command line options: -m url | --contact=url | --bind=url Specifies the SIP URL to which the options utility binds. --1XX | -1 Print also preliminary responses. If this option is not present, preliminary responses are silently discarded. --all | -a All SIP headers will be printed. If the --all option is given, the options utility also prints From, Via, Call-ID or CSeq headers. --from=url Specifies the From header. Unless this option is used or the environment variable SIPADDRESS is set, local Contact URL is used as From header as well. --mf=n Specify the initial Max-Forwards count (defaults to 70, stack default). --method=s Specify the request method (defaults to OPTIONS). --extra | -x/dt> Read extra headers (and optionally a message body) from the standard input Return Codes 0when successful (a 2XX-series response is received) 1when unsuccessful (a 3XX..6XX-series response is received) 2initialization failure Examples You want to query supported features of sip:essip00net.nokia.com: $ options sip:essip00net.nokia.com Environment #SIPADDRESS, #sip_proxy, #NTA_DEBUG, #TPORT_DEBUG, #TPORT_LOG. Reporting Bugs Report bugs to <sofia-sip-devel@lists.sourceforge.net>. Author Written by Pekka Pessi <pekka -dot pessi -at- nokia -dot- com> Copyright Copyright (C) 2005 Nokia Corporation. This program is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Version 1.12.11devel Sat May 7 2011 sip-options(1)
Man Page

4 More Discussions You Might Find Interesting

1. IP Networking

TTL for IP addr from DNS through C code

Hi All, I know that getaddrinfo() return the multiple IP addresses (if present) for a hostname. But, I want to know how to get the TTL value for this list from DNS. I want to get this TTL value and cache this IP address list for that much time and then again go for DNS resolution if TTL expires. ... (2 Replies)
Discussion started by: softindia
2 Replies

2. Programming

How to set DNS lookup type for getaddrinfo()?

Hi there, I'm trying to do an MX type lookup using getaddrinfo(), but I can't work out how to change the lookup type to MX from the standard A - can anybody tell me how to do this? Thanks very much John G (3 Replies)
Discussion started by: JohnGraham
3 Replies

3. Programming

getaddrinfo error:service name not available for the specified socket type

I use Solaris 10,and I use getaddrinfo in my code,like follows: struct addrinfo *ailist,hint; if(argc!=2) err_quit("usage: ruptime hostname"); hint.ai_flags=0; hint.ai_family=0; hint.ai_socktype=SOCK_STREAM; hint.ai_protocol=0; hint.ai_addrlen=0; hint.ai_canonname=NULL;... (1 Reply)
Discussion started by: konvalo
1 Replies

4. IP Networking

Can't get local IP address in getaddrinfo

Hi all, I am working with SIP protocol and am using SIPp to generate SIP traffic. But the call is not going through since I get the error; 2015-02-24 14:09:39:330 1424804979.330517: Can't get local IP address in getaddrinfo, local_host='NODE-01', local_ip=''. My ifconfig output is; ... (2 Replies)
Discussion started by: Junaid Subhani
2 Replies