SkillAgentSearch skills...

Getaddrinfo

Program to query getaddrinfo(3)

Install / Use

/learn @dpw/Getaddrinfo
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

getaddrinfo

This is a simple program that calls getaddrinfo(3) and displays the results.

Usage

To build do:

make

And then

./getaddrinfo <hostname> <port number or service name>

E.g.

$ ./getaddrinfo google.com http
AF_INET SOCK_STREAM tcp 216.58.213.78 80 google.com
AF_INET SOCK_DGRAM udp 216.58.213.78 80
AF_INET6 SOCK_STREAM tcp 2a00:1450:4009:810::200e 80
AF_INET6 SOCK_DGRAM udp 2a00:1450:4009:810::200e 80

Related Skills

View on GitHub
GitHub Stars8
CategoryDevelopment
Updated9mo ago
Forks1

Languages

C

Security Score

62/100

Audited on Jul 2, 2025

No findings