TCP_NODELAY is not defined in Haiku networking headers yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12030 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -178,6 +178,7 @@ net_open (struct serial *scb, const char *name)
|
||||
tmp = 0;
|
||||
ioctl (scb->fd, FIONBIO, &tmp);
|
||||
|
||||
#ifndef __BEOS__
|
||||
if (use_udp == 0)
|
||||
{
|
||||
/* Disable Nagle algorithm. Needed in some cases. */
|
||||
@@ -185,6 +186,7 @@ net_open (struct serial *scb, const char *name)
|
||||
setsockopt (scb->fd, IPPROTO_TCP, TCP_NODELAY,
|
||||
(char *)&tmp, sizeof (tmp));
|
||||
}
|
||||
#endif
|
||||
|
||||
/* If we don't do this, then GDB simply exits
|
||||
when the remote side dies. */
|
||||
|
||||
Reference in New Issue
Block a user