Suoritettu

Client Socket

Job Description:

Create a program that accepts a list of hostnames on the command line. For example

./[login to view URL] [login to view URL] [login to view URL] [login to view URL]

For each hostname, the program attempts to connect to the associated ip address address on port 80, and sends

 "GET / HTTP/1.1\r\nHost: <address from argv> \r\nConnection: close\r\n\r\n"

through the socket. It then displays the hostname, ip address, and return code (302, 404, etc.) from the response for each host name in a table. Use printf() to format the table into columns. The IP addresses should be nicely formatted like [login to view URL] for an IPv4 address. IPv6 addresses can simply be displayed as hexadecimal.

Nonfunctional requirements

You must use the function inet_ntoa() to convert ipv4 addresses to formatted strings.

[login to view URL] 

Sample run:

> ./[login to view URL] [login to view URL] [login to view URL] [login to view URL]

Host                                IP Address                                Code

[login to view URL]                        [login to view URL]                                302

[login to view URL]                        [login to view URL]                                302

[login to view URL]                        [login to view URL]                                302  

THE ATTACHED ZIP FILE HAS CODE THAT WILL HELP COMPLETE THIS PROJECT, KNOWLEDGE OF REPLIT IS HELPFUL

Taidot: Linux, C-ohjelmointi, Shell Script, Tietojärjestelmäarkkitehtuuri

Tietoa asiakkaasta:
( 7 arvostelua ) stoughton, United States

Projektin tunnus: #35463305

Myönnetty käyttäjälle:

kaloyan13

I can complete the program, using standard C library functions. Will need less than 2 hours to complete it.

$50 USD 1 päivässä
(653 Arvostelua)
7.7

34 freelanceria on tarjonnut keskimäärin $145 tähän työhön

liveexperts123

Hi there,I'm biddin on your project "Client Socket" I have read your project description and i'm an expert in C programming and machine learning therefore i can do this project for you perfectly.I still have a few ques Lisää

$250 USD 6 päivässä
(99 arvostelua)
7.9
umg536

Hi there, I'm bidding on your project "Client Socket" Being an expert in C, and C++ programming I can do this project for you. please leave a message on my chat so we can discuss the budget and deadline of the project Lisää

$250 USD 3 päivässä
(48 arvostelua)
7.4
aantropov605

Hi there. How are you? I am senior c/c++ developer and have a lot of experiences in this field. I am also familiar with socket communication and http/https protocols. If you hire me I can make a good result in short ti Lisää

$190 USD 7 päivässä
(39 arvostelua)
6.1
nursultansaudir2

⭐⭐⭐⭐⭐⭐⭐Socket and WebSocket Expert ⭐⭐⭐⭐⭐⭐⭐ How are you? I have 7+ years experience in Automation & Utility & Plugin. It is wrote by C/C++/C#/Python/Node.js. I hae rich experience in automation project with Socket and W Lisää

$200 USD 7 päivässä
(16 arvostelua)
5.8
pasievrakhim

Hello. Greetings for the day!!! As a Software Developer, I have 5+ years rich experiences working with C/C++, C# and so on. Give me a project and I'll discuss it in more detail and get started as soon as possible. Rega Lisää

$140 USD 3 päivässä
(31 arvostelua)
5.9
duym

hi, im sre for 5 years. hope to work with you hi, im sre for 5 years. hope to work with you hi, im sre for 5 years. hope to work with you

$120 USD 2 päivässä
(64 arvostelua)
5.5
rhlmeena35

i understood your project details very well and i can finish the same in your timeline. come over chat to discuss further

$110 USD 1 päivässä
(63 arvostelua)
5.5
Actisoft2017

Hello, Nice meet you! I have read your project requirements and then I am sure I can complete that project. I can help you. Thank you

$140 USD 7 päivässä
(12 arvostelua)
5.0
aravinda333

Hi, I have great experience in network programming in both C and C++, for the Linux platform using sockets. I understood your requirement of sending an HTTP GET request to the domains passed as command line argumen Lisää

$60 USD 1 päivässä
(45 arvostelua)
5.2
anenkovakateryna

I can do this project in 2 days.........................................................................................

$100 USD 2 päivässä
(21 arvostelua)
5.0
milosgojko

Full stack developer with 7+ years of experience and pretty sure to meet your demand within deadline. Skills: ■ Languages: C++, Javascript, Python, PHP, SQL, C, Java, Pascal, Delphi, CoffeeScript ■ Web / Desktop Appl Lisää

$200 USD 2 päivässä
(7 arvostelua)
4.8
thecuong000

Hello , I have over 7 years of experience developing coresir services with C / C ++ / java / QT / QML / IOT platform. I always pay attention to detail, always want to promote best practices and ensure high-quality proj Lisää

$300 USD 7 päivässä
(8 arvostelua)
4.7
inigoherrerag

Hello⭐⭐⭐⭐⭐I am senior Reverse Engineer & ASP .Net ,C,C++ and C# ,Python Developer⭐⭐⭐⭐⭐ I've seriously read your post and I have understood what you need. I am sure that I can be the best developer who can perfectl Lisää

$140 USD 7 päivässä
(4 arvostelua)
4.5
trostnickovo

Hello I am a professional programmer with rich experiences with c/c++ socket programming. I have read your description. I understand your requirement and am full of confidence since I have experiences that perform the Lisää

$50 USD 1 päivässä
(12 arvostelua)
4.5
Nathanron

Greetings ! I read your project details carefully. I am a full stack developer with 10+ years of experience. I have strong technical skills like Linux, Socket Programming. I am looking forward to your positive respons Lisää

$140 USD 7 päivässä
(5 arvostelua)
3.9
fredericktimmons

Glad to meet you. I am very interested in your job post involving these skills Let me do this job for you now just to prove my expertise in this field. I have confident that I will do your work very well. I hope you w Lisää

$140 USD 7 päivässä
(3 arvostelua)
3.4
thetaghun

Hi! My name is György Csala. You can call me George.   In the past 30+ years, I've written 1+ million lines of code in 70+ programming languages on 6 different platforms including supercomputers. I create programs in Lisää

$100 USD 1 päivässä
(6 arvostelua)
3.2
nawfar101

HI. I am a senior c/c++ developer and have rich experience in socket communication. I have confidence and ready to your work. Let's discuss more detail in chat. Thank you.

$140 USD 7 päivässä
(1 arvostelu)
3.0
diachukoleksand1

Hi I am very glad to bidding in your project. I have deep experience in C/C++ programming(5+ years) and python(4+ years) Also I completed so many project with openGL and unity So I think I am the best candidate for yo Lisää

$140 USD 7 päivässä
(1 arvostelu)
3.1
RubenBorja1988

Hi I am interested in your project and ready to start work now. I am a ShellScripting Expert with 8 years of experience. I can surely make you happy with the best result delivery. Best regards. Jaime.

$100 USD 7 päivässä
(4 arvostelua)
2.5