lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [patch #5865] Fix missing lwip directory in socket.h includ


From: Tai-hwa Liang
Subject: [lwip-devel] [patch #5865] Fix missing lwip directory in socket.h including path
Date: Fri, 20 Apr 2007 02:07:21 +0000
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-GB; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3

Follow-up Comment #5, patch #5865 (project lwip):

I guess that one of the reason to put TCP_NODELAY inside tcp.h is to keep all
user-settable options together, as commented in lwip/tcp.h:

/*
 * User-settable options (used with setsockopt).
 */
#define TCP_NODELAY    0x01    /* don't delay send to coalesce packets */
#define TCP_KEEPALIVE  0x02    /* send KEEPALIVE probes when idle for
pcb->keep_
idle milliseconds */

#define TCP_KEEPIDLE   0x03    /* set pcb->keep_idle  - Same as
TCP_KEEPALIVE, b
ut use seconds for get/setsockopt*/
#define TCP_KEEPINTVL  0x04    /* set pcb->keep_intvl - Use seconds for
get/sets
ockopt */
#define TCP_KEEPCNT    0x05    /* set pcb->keep_cnt   - Use number of probes
sen
t for get/setsockopt */

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?5865>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]