Communicating with a port via TCP.
More...
#include <yarp/os/impl/TcpFace.h>
Communicating with a port via TCP.
Definition at line 21 of file TcpFace.h.
◆ TcpFace()
◆ ~TcpFace()
◆ close()
◆ getLocalAddress()
Contact TcpFace::getLocalAddress |
( |
| ) |
const |
|
overridevirtual |
Get address after open(), if more specific that the address provided to open() - otherwise an invalid address is returned.
- Returns
- an address
Reimplemented from yarp::os::Face.
Definition at line 148 of file TcpFace.cpp.
◆ open()
Start listening to the given address.
- Parameters
-
address | the parameters needed for listening. E.g. for TCP, this would contain a socket number. |
- Returns
- true on success.
Implements yarp::os::Face.
Definition at line 33 of file TcpFace.cpp.
◆ read()
◆ write()
Try to reach out and talk to someone.
- Parameters
-
address | parameters describing destination. For example, for TCP this would contain a machine name/IP address, and a socket number. |
- Returns
- a protocol object to talk with, or nullptr on failure.
Implements yarp::os::Face.
Definition at line 120 of file TcpFace.cpp.
◆ auth
The documentation for this class was generated from the following files: