|
IBR-DTNSuite 0.6
|
#include <tcpclient.h>


Classes | |
| class | SocketException |
Public Member Functions | |
| tcpclient () | |
| tcpclient (const ibrcommon::File &socket) | |
| void | open (const ibrcommon::File &socket) |
| tcpclient (const std::string &address, const int port, size_t timeout=0) | |
| void | open (const std::string &address, const int port, size_t timeout=0) |
| virtual | ~tcpclient () |
Definition at line 17 of file tcpclient.h.
| ibrcommon::tcpclient::tcpclient | ( | ) |
| ibrcommon::tcpclient::tcpclient | ( | const ibrcommon::File & | socket | ) |
Connect the tcpclient to a named socket
| socket | to use |
Definition at line 30 of file tcpclient.cpp.
References open().

| ibrcommon::tcpclient::tcpclient | ( | const std::string & | address, |
| const int | port, | ||
| size_t | timeout = 0 |
||
| ) |
Connect the tcpclient to a address and port (IP)
| address | |
| port |
| ibrcommon::tcpclient::~tcpclient | ( | ) | [virtual] |
| void ibrcommon::tcpclient::open | ( | const ibrcommon::File & | socket | ) |
Definition at line 35 of file tcpclient.cpp.
References ibrcommon::tcpstream::_socket, and ibrcommon::File::getPath().
Referenced by main(), dtn::net::TCPConnection::setup(), and tcpclient().

| void ibrcommon::tcpclient::open | ( | const std::string & | address, |
| const int | port, | ||
| size_t | timeout = 0 |
||
| ) |