Move JobClient to Boost::asio as well

I did this mainly so server and client use a common networking API
IMO, using Boost::asio results in nicer name-lookup code.
Since no longer needed, I removed the SocketComm stuff.
The client is still synchronous; I see no benefit in having it
asynchronous.

I'm not super happy with the random backoff by the clients, if they
can't connect to the server. It makes the code really messy, 3 retries
is totally arbitrary, as is the backup windows. I believe launching
the server and clients in the correct order should be handled by a
launch script
Change-Id: Ifea64919fc228aa530c90449686f51bf63eb70e7
This commit is contained in:
Hannes Weisbach
2017-09-22 04:50:15 +02:00
committed by Horst Schirmeier
parent 191219ad06
commit 9272c5cbed
9 changed files with 127 additions and 265 deletions

View File

@ -1,3 +1,4 @@
#include <fstream>
#include <iostream>
#include "experiment.hpp"

View File

@ -1,3 +1,4 @@
#include <fstream>
#include <iostream>
#include <list>
#include <stdlib.h>