projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Configurable TCP_NODELAY option on network connections
[u/mdw/putty]
/
network.h
diff --git
a/network.h
b/network.h
index
4300fb2
..
3ec9eb7
100644
(file)
--- a/
network.h
+++ b/
network.h
@@
-68,7
+68,7
@@
void sk_getaddr(SockAddr addr, char *buf, int buflen);
void sk_addr_free(SockAddr addr);
Socket sk_new(SockAddr addr, int port, int privport, int oobinline,
void sk_addr_free(SockAddr addr);
Socket sk_new(SockAddr addr, int port, int privport, int oobinline,
- Plug p);
+
int nodelay,
Plug p);
Socket sk_newlistener(int port, Plug plug, int local_host_only);
Socket sk_newlistener(int port, Plug plug, int local_host_only);
@@
-124,6
+124,12
@@
char *sk_addr_error(SockAddr addr);
*/
void sk_set_frozen(Socket sock, int is_frozen);
*/
void sk_set_frozen(Socket sock, int is_frozen);
+/*
+ * Call this after an operation that might have tried to send on a
+ * socket, to clean up any pending network errors.
+ */
+void net_pending_errors(void);
+
/********** SSL stuff **********/
/*
/********** SSL stuff **********/
/*