mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-07-14 06:52:52 +03:00
More WIP.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user