Skip to contentSkip to conversation

qemu/slirp tcp.h tcp_subr.c

Qemu-devel Thiemo Seufer 2 participants 3 messages Dec 21, 2006 – Dec 22, 2006

lore
Share & tools
lore
#1 lore raw

Hi,

it might be better to use a system include file (netinet/tcp.h for Linux, winsock2.h for Windows) for the declaration of TCP_NODELAY instead of a definition in tcp.h.

Regards
Stefan

Quoted 13 lines · Thiemo Seufer

CVSROOT: /sources/qemu
Module name: qemu
Changes by: Thiemo Seufer <ths> 06/12/21 19:10:59

Modified files:
slirp : tcp.h tcp_subr.c

Log message:
Enable TCP_NODELAY, by Daniel Jacobowitz.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/slirp/tcp.h?cvsroot=qemu&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/qemu/slirp/tcp_subr.c?cvsroot=qemu&r1=1.6&r2=1.7

#2 lore raw
Quoted 5 lines · Stefan Weil

Hi,

it might be better to use a system include file (netinet/tcp.h for Linux, winsock2.h for Windows) for the declaration of TCP_NODELAY instead of a definition in tcp.h.

I don't know if TCP/IP is required to use the same numeric value across implementations, so I stay with the slirp header for slirp use.

Thiemo