centralized and cmake-based campaign server+port config
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1590 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
@ -130,7 +130,7 @@ void JobServer::run()
|
||||
return;
|
||||
}
|
||||
|
||||
/* IPv4, Port: 1111, accept all IP adresses */
|
||||
/* IPv4, bind to all interfaces */
|
||||
struct sockaddr_in saddr;
|
||||
saddr.sin_family = AF_INET;
|
||||
saddr.sin_port = htons(m_port);
|
||||
|
||||
@ -72,7 +72,7 @@ private:
|
||||
void sendWork(int sockfd);
|
||||
|
||||
public:
|
||||
JobServer(int port = 1111) : m_port(port), m_finish(false), m_noMoreExps(false),
|
||||
JobServer(int port = SERVER_COMM_TCP_PORT) : m_port(port), m_finish(false), m_noMoreExps(false),
|
||||
m_maxThreads(128), m_threadtimeout(0)
|
||||
{
|
||||
#ifndef __puma
|
||||
|
||||
Reference in New Issue
Block a user