bool
Port::connected_to (std::string const & o) const
{
- if (!port_engine.connected()) {
+ if (!port_engine.available()) {
return false;
}
int
Port::get_connections (std::vector<std::string> & c) const
{
- if (!port_engine.connected()) {
+ if (!port_engine.available()) {
c.insert (c.end(), _connections.begin(), _connections.end());
return c.size();
}