[En-Nut-Discussion] TCP_NODELAY
Harald Kipp
harald.kipp at egnite.de
Wed Jan 4 13:25:17 CET 2006
Hi Emjay,
NutTcpSetSockOpt() can only handle
TCP_MAXSEG Maximum segment size
SO_SNDTIMEO Socket send timeout
SO_RCVTIMEO Socket receive timeout
SO_SNDBUF Socket output buffer size
But Nut/Net delays output segments a very short time only. I assume
that your problem is caused by a missing flush of the socket stream.
Use fflush(stream).
Harald
At 12:44 04.01.2006 +0100, you wrote:
>hello,
>
>how can the TCP_NODELAY option be used, i need a routine, that sends few
>data (~20 bytes) every second via tcp socket
>or would it make more sense to reduce the max segment size
>
>thx
>
>emjay
More information about the En-Nut-Discussion
mailing list