xrecv_nonblock
if (xrecv_nonblock(conn, &buf, 1, 0) != 1)
n = xrecv_nonblock(s, &b, sizeof(b), 0);
n = xrecv_nonblock(c0, buf, sizeof(buf), 0);