Open entropia1 opened 8 years ago
Sorry, forgot to add the stack trace of the exception:
#8 0x000000010003629b in void asio::detail::throw_exception<std::__1::system_error>(std::__1::system_error const&) at /usr/local/include/asio/detail/throw_exception.hpp:42
#9 0x0000000100036214 in asio::detail::do_throw_error(std::__1::error_code const&, char const*) at /usr/local/include/asio/detail/impl/throw_error.ipp:49
#10 0x0000000100035516 in asio::detail::throw_error(std::__1::error_code const&, char const*) at /usr/local/include/asio/detail/throw_error.hpp:41
#11 0x0000000100035232 in unsigned long asio::basic_datagram_socket<asio::ip::udp, asio::datagram_socket_service<asio::ip::udp> >::send_to<asio::const_buffers_1>(asio::const_buffers_1 const&, asio::ip::basic_endpoint<asio::ip::udp> const&) at /usr/local/include/asio/basic_datagram_socket.hpp:424
#12 0x0000000100033131 in RauschenSocket::sendProto(PInnerContainer const&) at /Users/Corny/Documents/CPP/rauschen/src/api/socket.hpp:47
#13 0x000000010002fe2a in RauschendConnector<RauschenSocket>::sendCommandToDaemon(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) at /Users/Corny/Documents/CPP/rauschen/src/api/connector.hpp:41
#14 0x000000010002e846 in ::rauschen_add_host(const char *) at /Users/Corny/Documents/CPP/rauschen/src/api/rauschen.cpp:19
#15 0x0000000100001f44 in main at /Users/Corny/Documents/CPP/rauschen/src/tools/add_host.c:12
Uh, thanks for starting. I'll look into it tonight. :-)
AddHost wants a hostname IIRC... But there should be a meaningful error message.
Same error (and stack trace) with ./rauschen-add-host Corneliuss-Mac-Pro.local
[Update] or ./rauschen-add-host localhost
So I finally managed to fiddle around with this code :-)
Unfortunately, I cannot get it to work. First off, it compiles fine (Boost 1.60, protobuf 2.6.1, cryptopp 5.6.3_1, asio 1.10.6). Then I tried to run something (maybe some tutorial would be helpful):
[DEBUG[]D EBCUaGnn]o t Roepceeni vheods tas pfiinlge
), but seems to do thingsExecuting all other tools gives me an error, for example
Don't really know where to start debugging, becaus I still don't know network stuff. Any hints?