summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
m---------common0
-rw-r--r--server.cpp6
2 files changed, 6 insertions, 0 deletions
diff --git a/common b/common
-Subproject 042055b251bba4d8a59e16ca47721543cae346c
+Subproject 1f97ccdac792c0b5b07972e7d4b2f28416046ea
diff --git a/server.cpp b/server.cpp
index e2fd37d..33abb00 100644
--- a/server.cpp
+++ b/server.cpp
@@ -36,6 +36,12 @@ void Server::handle_connect(Connection::p connection) {
% connection->socket.remote_endpoint().address().to_string()).str());
m.send(connection->socket);
+ message::Player p(0, Vector3(0, 52, 0), "foooooooooooooooooooooo");
+ p.send(connection->socket);
+
+ message::Player p2(1, Vector3(5, 50, 5), "b");
+ p2.send(connection->socket);
+
async_read(connection);
/*boost::asio::streambuf b;