Terminé

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

Compétences : Linux, Programmation C, Script Shell, Architecture Logicielle

Concernant le client :
( 7 commentaires ) stoughton, United States

Nº du projet : #35463305

Décerné à:

kaloyan13

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

%selectedBids___i_sum_sub_4% %project_currencyDetails_sign_sub_5% USD en 1 jour
(653 Commentaires)
7.7

34 freelances font une offre moyenne de 145 $ pour ce travail

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 Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 6 jours
(99 Commentaires)
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 Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(48 Commentaires)
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 Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(39 Commentaires)
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 Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(16 Commentaires)
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 Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(31 Commentaires)
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

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 2 jours
(64 Commentaires)
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

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(63 Commentaires)
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

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(12 Commentaires)
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 Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(45 Commentaires)
5.2
anenkovakateryna

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

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 2 jours
(21 Commentaires)
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 Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 2 jours
(7 Commentaires)
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 Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(8 Commentaires)
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 Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(4 Commentaires)
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 Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(12 Commentaires)
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 Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(5 Commentaires)
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 Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(3 Commentaires)
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 Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(6 Commentaires)
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.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(1 Évaluation)
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 Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(1 Évaluation)
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.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(4 Commentaires)
2.5