Skip to content

Commit

Permalink
Merge pull request #3075 from traversaro/fixisconnect
Browse files Browse the repository at this point in the history
Fix documentation of isConnected method
  • Loading branch information
randaz81 authored Jan 29, 2024
2 parents c59779f + a4105a6 commit dbec359
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/libYARP_os/src/yarp/os/Network.h
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ class YARP_os_API NetworkBase
}

/**
* Check if a connection exists between two ports.
* Check if a connection with tcp carrier exists between two ports
* @param src the name of an output port
* @param dest the name of an input port
* @param quiet suppress messages displayed upon success/failure
Expand All @@ -196,7 +196,7 @@ class YARP_os_API NetworkBase
bool quiet);

/**
* Check if a connection exists between two ports.
* Check if a connection with tcp carrier exists between two ports.
* @param src the name of an output port
* @param dest the name of an input port
* @param style options for network communication
Expand All @@ -207,10 +207,12 @@ class YARP_os_API NetworkBase
const ContactStyle& style);

/**
* Check if a connection exists between two ports.
* Check if a connection with specified carrier exists between two ports.
* @param src the name of an output port
* @param dest the name of an input port
* @param carrier the name of the protocol to use (tcp/udp/mcast)
* @param carrier the name of the protocol to use (tcp/udp/mcast).
* if a connection exists but using a different carrier,
* the method will return false
* @param quiet suppress messages displayed upon success/failure
* @return true if there is a connection
*/
Expand Down

0 comments on commit dbec359

Please sign in to comment.