send_packet
This commit is contained in:
parent
897550a0ac
commit
61041efd02
@ -465,7 +465,8 @@ int send_packet(char *packet_buff, int16_t length, struct sockaddr_in6 *dest, in
|
|||||||
|
|
||||||
// Vectorized buffer
|
// Vectorized buffer
|
||||||
struct iovec vec_buff[1];
|
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;
|
int error_while_sending = 0;
|
||||||
|
|
||||||
|
BIN
src/node.o
Normal file
BIN
src/node.o
Normal file
Binary file not shown.
BIN
src/parser.o
Normal file
BIN
src/parser.o
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user