diff options
author | James Maki <jmaki@multitech.com> | 2010-11-19 12:18:35 -0600 |
---|---|---|
committer | James Maki <jmaki@multitech.com> | 2010-11-19 12:18:35 -0600 |
commit | 05a380df982e25ca320113f98f8c7eb659677775 (patch) | |
tree | 60b21ec419248abfe9b7073c6c1b841ccaab01a2 /src/utils.h | |
parent | bea2da186e9788a5f5e46eefdff3e318400c4526 (diff) | |
download | venus-gps-05a380df982e25ca320113f98f8c7eb659677775.tar.gz venus-gps-05a380df982e25ca320113f98f8c7eb659677775.tar.bz2 venus-gps-05a380df982e25ca320113f98f8c7eb659677775.zip |
use TCP_CORK instead of MSG_MORE
Diffstat (limited to 'src/utils.h')
-rw-r--r-- | src/utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils.h b/src/utils.h index e9ab44d..53b457f 100644 --- a/src/utils.h +++ b/src/utils.h @@ -21,6 +21,8 @@ ssize_t safe_readn(int fd, void *buf, size_t len); ssize_t safe_write(int fd, const void *buf, size_t count); ssize_t full_write(int fd, const void *buf, size_t len); int set_nonblocking(int fd); +int udp_cork(int fd, int corked); +int tcp_cork(int fd, int corked); int inet_conn_str(const char *host, int port, int type); int inet_conn_ia(struct in_addr *host, int port, int type); |