xsend
if (xsend(peer, &buf, 1, 0) != 1)
sent = xsend(c0, buf, sizeof(buf), 0);
sent = xsend(c1, buf, sizeof(buf) - 1, 0);
sent = xsend(c0, buf, sizeof(buf), 0);
sent = xsend(c1, buf, sizeof(buf), 0);
sent = xsend(c0, buf, sizeof(buf), 0);
sent = xsend(c1, buf, 2, 0);
sent = xsend(c0, buf + 2, sizeof(buf) - 2, 0);
sent = xsend(p1, &buf, split_len, 0);
sent += xsend(p1, &buf, sizeof(buf) - split_len, 0);
sent = xsend(p1, "Tr", 2, 0);
sent = xsend(p1, "G", 1, 0);
sent = xsend(p1, "E", 1, 0);
sent = xsend(p1, snd, sizeof(snd), 0);
n = xsend(c, &b, sizeof(b), 0);
n = xsend(c1, &b, sizeof(b), 0);
n = xsend(c, &b, sizeof(b), 0);
n = xsend(c1, buf, sizeof(buf), 0);
xsend(c0, send_dir[d].data, send_dir[d].data_len, 0);
sent = xsend(c, snd, total, 0);
xsend(c, packet, off, 0);
xsend(c, packet + off, STRP_PKT_FULL_LEN - off, 0);
xsend(c, packet, off, 0);
xsend(c, packet + off, STRP_PKT_FULL_LEN - off - 1, 0);
xsend(c, packet + off, STRP_PKT_FULL_LEN - off, 0);
sent = xsend(c, packet, pkt_size, 0);
sent = xsend(c, packet, pkt_size, 0);
sent = xsend(c, packet, pkt_size, 0);
sent = xsend(c0, packet, STRP_PKT_FULL_LEN, 0);
sent = xsend(c0, packet, STRP_PKT_FULL_LEN, 0);
ret = xsend(p1, "Tr", 2, 0);
ret = xsend(p1, "G", 1, 0);
ret = xsend(p1, "E", 1, 0);
ret = xsend(p1, "Z", 1, 0);