int digilent::flush_wr_bulk() { int rc; if (queued_wr_packet_count == 0) return 0; rc = write_bulk(queued_wr_packets, queued_wr_packet_count); queued_wr_packet_count = 0; return rc; }
void RLConnection::write_bulk(const std::string &out){ write_bulk(out.c_str(), out.size()); START_WRITER(); }