mover_socket_write_one_buf
if (mover_socket_write_one_buf(session, buf) < 0) {
static int mover_socket_write_one_buf(ndmpd_session_t *session,