More WIP.

This commit is contained in:
Martín Lucas Golini
2024-12-28 13:16:03 -03:00
parent 42e7369c2f
commit d07bb2572c
19 changed files with 534 additions and 135 deletions

View File

@@ -5,6 +5,10 @@ namespace ecode {
BusSocket::BusSocket( const Connection& connection ) : mConnection( connection ) {}
BusSocket::~BusSocket() {
close();
}
bool BusSocket::start() {
bool res =
mSocket.connect( IpAddress( mConnection.host ), mConnection.port ) == Socket::Status::Done;