]> git.tdb.fi Git - r2c2.git/blobdiff - source/network/server.h
Adapt to mspnet API changes
[r2c2.git] / source / network / server.h
index 16022ba9d12664596ac4d19aec2881c8d985ca0f..febd567598e0e71def517c7a9743bfdc77706994 100644 (file)
@@ -4,7 +4,7 @@
 #include <msp/io/eventdispatcher.h>
 #include <msp/net/communicator.h>
 #include <msp/net/streamsocket.h>
-#include <msp/net/streamlistensocket.h>
+#include <msp/net/streamserversocket.h>
 #include "libr2c2/layout.h"
 #include "libr2c2/trainstatus.h"
 #include "packets.h"
@@ -39,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<Connection *> connections;