Fermé

C/C++ code snippet needed (sockets)

I need someone to write me a tiny client application. It will do the following: - run as a daemon (could be thru sleep() function) - wake up every minute and connect to 5 different servers, disconnect and go to sleep again - for each connection with a server it must fork! (i.e it needs to be multithreaded) - servers must be in array (i will add more later) - arbitrary timeout is a must!

basically, i need to know if a certain server is up and running. if you have a better solution - let me know.

most of the parameters should be constants: timeout, server port, sleep time, etc. all output can be to STD.

you can use any external socket classes or whatever. but i need to be able to install it on my server (RHE3). i can give you access to the server.

Compétences : Programmation C

Voir plus : connect time server, need someone write application, server code, std, socket server, snippet, sleep, port, my c, c access, client socket server, socket connect timeout, code function, connect timeout, know following, timeout function, wake, socket time server, use code access, needed client, install needed, access array, application timeout, arbitrary, connection client

Concernant l'employeur :
( 0 commentaires ) Cary, NC, United States

N° du projet : #12326

4 freelance ont fait une offre moyenne de 50 $ pour ce travail

GuruDeveloper

I've done it many times before and i can do it can in 1 hour for you. Can do it with external config-file.

50 $ USD en 0 jours
(6 Commentaires)
4.9
DougRoyer

This is basic socket programming. I have done hundreds ovre my 25+ years of UNIX programming.

50 $ USD en 1 jour
(4 Commentaires)
6.0
ranganathp

Consider ME IN! Consider IT Done!

50 $ USD en 1 jour
(2 Commentaires)
4.1
endi

This is basic socket programming. I have done one over my 1 month of UNIX programming ;-)

50 $ USD en 1 jour
(0 Commentaires)
0.0