X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fnetwork%2Fserver.h;h=febd567598e0e71def517c7a9743bfdc77706994;hb=64feb0c70888bfc7c11b05dcc71be495f255c039;hp=dc7543fe293278f09be6fb673731108500bae8bf;hpb=fadc35133b1ebbd98af948c1fa529dcde6fddcfd;p=r2c2.git diff --git a/source/network/server.h b/source/network/server.h index dc7543f..febd567 100644 --- a/source/network/server.h +++ b/source/network/server.h @@ -1,18 +1,12 @@ -/* $Id$ - -This file is part of R²C² -Copyright © 2009-2010 Mikkosoft Productions, Mikko Rasa -Distributed under the GPL -*/ - #ifndef R2C2_NET_SERVER_H_ #define R2C2_NET_SERVER_H_ #include #include #include -#include +#include #include "libr2c2/layout.h" +#include "libr2c2/trainstatus.h" #include "packets.h" #include "protocol.h" @@ -45,7 +39,7 @@ private: Protocol proto; Layout &layout; - Msp::Net::StreamListenSocket listen_sock; + Msp::Net::StreamServerSocket listen_sock; Msp::IO::EventDispatcher *event_disp; std::vector connections;