SG_BUF
ret = send(state->fd, SG_BUF(sg), SG_LEN(sg), 0);
if (send(conn->fd, SG_BUF(sg), SG_LEN(sg), 0) != SG_LEN(sg)) {