projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[WSHTCPIP]
[reactos.git]
/
reactos
/
lib
/
drivers
/
lwip
/
src
/
rostcp.c
diff --git
a/reactos/lib/drivers/lwip/src/rostcp.c
b/reactos/lib/drivers/lwip/src/rostcp.c
index
44a865a
..
ea06d75
100755
(executable)
--- a/
reactos/lib/drivers/lwip/src/rostcp.c
+++ b/
reactos/lib/drivers/lwip/src/rostcp.c
@@
-829,3
+829,14
@@
LibTCPGetPeerName(PTCP_PCB pcb, struct ip_addr * const ipaddr, u16_t * const por
return ERR_OK;
}
+
+void
+LibTCPSetNoDelay(
+ PTCP_PCB pcb,
+ BOOLEAN Set)
+{
+ if (Set)
+ pcb->flags |= TF_NODELAY;
+ else
+ pcb->flags &= ~TF_NODELAY;
+}