File SendSocket.h

namespace faabric
namespace transport
namespace tcp
class SendSocket

Public Functions

SendSocket(const std::string &host, int port)
void dial()
void sendOne(const uint8_t *buffer, size_t bufferSize)

Private Functions

void setSocketOptions(int connFd)

Private Members

Address addr
Socket sock
bool connected
std::string host
int port