Skip to content

A basic C program that shows the IP of the given domain name.

Notifications You must be signed in to change notification settings

suveshgurung/showip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

showip

A basic C program that shows the IP of the given domain name.

Build

To build the project, run the following command:

gcc -o showip main.c

This should generate an executable showip.

Usage

To use showip, input the following command:

./showip <hostname>

This should print out the IP address of the provided hostname.

NOTE: This works for both IPv4 and IPv6 addresses.

About

A basic C program that shows the IP of the given domain name.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages