essej / aooserver Goto Github PK
View Code? Open in Web Editor NEWAoO console server
AoO console server
I wanted to debug the contents of per-user data stored in aooserver, thus I installed my own one but logs do not contain much, just timestamp, name of group and name of user joining or leaving. My understanding is that there should be also a list of IP:PORT items for each user. How can these be seen ? Can they be logged ?
I get the error below when I try to build on Ubuntu.
I'd appreciate any help! Thanks!
$ CONFIG=Release make
Compiling client.cpp
In file included from ../../deps/aoo/lib/src/client.hpp:10,
from ../../deps/aoo/lib/src/client.cpp:5:
../../deps/aoo/lib/src/sync.hpp:98:26: error: ‘unique_lock’ in namespace ‘std’ does not name a template type
98 | using unique_lock = std::unique_lock<shared_mutex>;
| ^~~~~~~~~~~
../../deps/aoo/lib/src/sync.hpp:12:1: note: ‘std::unique_lock’ is defined in header ‘<mutex>’; did you forget to ‘#include <mutex>’?
11 | #include <shared_mutex>
+++ |+#include <mutex>
12 |
../../deps/aoo/lib/src/client.cpp: In member function ‘void aoo::net::client::do_disconnect(aoo::net::command_reason, int)’:
../../deps/aoo/lib/src/client.cpp:573:9: error: ‘unique_lock’ was not declared in this scope
573 | unique_lock lock(peerlock_);
| ^~~~~~~~~~~
../../deps/aoo/lib/src/client.cpp: In member function ‘void aoo::net::client::handle_group_leave(const osc::ReceivedMessage&)’:
../../deps/aoo/lib/src/client.cpp:1077:9: error: ‘unique_lock’ was not declared in this scope
1077 | unique_lock lock(peerlock_); // writer lock!
| ^~~~~~~~~~~
../../deps/aoo/lib/src/client.cpp: In member function ‘void aoo::net::client::handle_peer_add(const osc::ReceivedMessage&)’:
../../deps/aoo/lib/src/client.cpp:1136:5: error: ‘unique_lock’ was not declared in this scope
1136 | unique_lock lock(peerlock_); // writer lock!
| ^~~~~~~~~~~
../../deps/aoo/lib/src/client.cpp: In member function ‘void aoo::net::client::handle_peer_remove(const osc::ReceivedMessage&)’:
../../deps/aoo/lib/src/client.cpp:1165:5: error: ‘unique_lock’ was not declared in this scope
1165 | unique_lock lock(peerlock_); // writer lock!
| ^~~~~~~~~~~
../../deps/aoo/lib/src/client.cpp: In member function ‘void aoo::net::client::wait_for_event(float)’:
../../deps/aoo/lib/src/client.cpp:790:13: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
790 | read(waitpipe_[0], &c, 1);
| ~~~~^~~~~~~~~~~~~~~~~~~~~
../../deps/aoo/lib/src/client.cpp: In member function ‘void aoo::net::client::signal()’:
../../deps/aoo/lib/src/client.cpp:1221:10: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
1221 | write(waitpipe_[1], "\0", 1);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~
make: *** [Makefile:109: build/intermediate/Release/client_305e502e.o] Error 1
I am attempting to run an additional aooserver to aoo.sonobus.net, mostly as a learning exercise but also to further develop various AOO clients -- and hoping to keep everything compatible with all existing Sonobus clients.
I would like to know the aooserver
version/git commit currently running on aoo.sonobus.net; I am able to use Sonobus 1.6.1 with a locally compiled aooserver
from the master
branch as well as aoonew
, but not aoonewest
/aoonewester
.
In an AOO client I hacked together (iOS), I am able to use aoo.sonobus.net, but for some reason it won't work with any aooserver
that I have compiled myself -- I get client_endpoint: connection was closed
errors; still trying to investigate more about this. But I'm hoping to start from an identical aooserver
to what is running on aoo.sonobus.net, since that does work very well.
I am hoping to deploy it on my router, is it possible?
Any way to make a docker image for this?
When i tried to join the room, it will say, connecting for a long time, and showing error saying cannot connect to user, may need to setup firewall. I have public IP and my server is accessible. The setup is:
Ipad on local network and iphone on LTE.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.