Try using writev() for writing packets out to tcp

This commit is contained in:
Matt Johnston
2013-03-31 23:15:35 +08:00
parent 36526700a9
commit f6b304250b
4 changed files with 66 additions and 10 deletions

View File

@@ -120,6 +120,10 @@
#include <libgen.h>
#endif
#ifdef HAVE_SYS_UIO_H
#include <sys/uio.h>
#endif
#ifdef BUNDLED_LIBTOM
#include "libtomcrypt/src/headers/tomcrypt.h"
#include "libtommath/tommath.h"