+
+ return fd;
+}
+
+INTERNAL inline void send_partial_packet(void)
+{
+ next_vec();
+ write_pos = buffer;
+ write_int(length|0x80000000);
+ writev(get_out_fd(), iovecs, cur_vec-iovecs);
+
+ write_pos = buffer;
+ cur_vec = iovecs;
+ cur_vec->iov_base = write_pos;
+ length = 0;
+
+ write_int(0);
+}
+
+INTERNAL inline void send_packet(void)
+{