mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-07-13 14:32:53 +03:00
WIP
This commit is contained in:
@@ -3,8 +3,11 @@
|
||||
|
||||
namespace ecode {
|
||||
|
||||
BusSocket::BusSocket( const Connection& connection ) {
|
||||
mSocket.connect( IpAddress( connection.host ), connection.port );
|
||||
BusSocket::BusSocket( const Connection& connection ) : mConnection( connection ) {}
|
||||
|
||||
bool BusSocket::start() {
|
||||
return mSocket.connect( IpAddress( mConnection.host ), mConnection.port ) ==
|
||||
Socket::Status::Done;
|
||||
}
|
||||
|
||||
void BusSocket::startAsyncRead( ReadFn readFn ) {
|
||||
|
||||
Reference in New Issue
Block a user