send_packet
This commit is contained in:
1 parent
897550a0ac
commit
61041efd02
4 files changed
+2
-1
No files matched your search
+2
-1
@@ -465,7 +465,8 @@ int send_packet(char *packet_buff, int16_t length, struct sockaddr_in6 *dest, in
|
||||
|
||||
// Vectorized buffer
|
||||
struct iovec vec_buff[1];
|
||||
vec_buff[0] = {.iov_len = length + 4, .iov_base = packet_buff};
|
||||
vec_buff[0].iov_len = length + 4;
|
||||
vec_buff[0].iov_base = packet_buff;
|
||||
|
||||
int error_while_sending = 0;
|
||||
|
||||
|
||||
BIN
Binary file not shown.
Binary file not shown.
Reference in new issue
Block a user