/[lwip]/lwip/src/api/sockets.c
ViewVC logotype

Diff of /lwip/src/api/sockets.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.16.2.2 by kieranm, Thu Aug 21 09:59:21 2003 UTC revision 1.16.2.3 by jani, Tue Sep 2 11:56:40 2003 UTC
# Line 1303  int lwip_setsockopt (int s, int level, i Line 1303  int lwip_setsockopt (int s, int level, i
1303        LWIP_DEBUGF(SOCKETS_DEBUG, ("lwip_setsockopt(%d, IPPROTO_TCP, TCP_NODELAY) -> %s\n", s, (*(int *)optval)?"on":"off") );        LWIP_DEBUGF(SOCKETS_DEBUG, ("lwip_setsockopt(%d, IPPROTO_TCP, TCP_NODELAY) -> %s\n", s, (*(int *)optval)?"on":"off") );
1304        break;        break;
1305      case TCP_KEEPALIVE:      case TCP_KEEPALIVE:
1306        sock->conn->pcb.tcp->keepalive = (u32_t)(*(int*)optval);;        sock->conn->pcb.tcp->keepalive = (u32_t)(*(int*)optval);
1307        LWIP_DEBUGF(SOCKETS_DEBUG, ("lwip_setsockopt(%d, IPPROTO_TCP, TCP_KEEPALIVE) -> %u\n", s, sock->conn->pcb.tcp->keepalive));        LWIP_DEBUGF(SOCKETS_DEBUG, ("lwip_setsockopt(%d, IPPROTO_TCP, TCP_KEEPALIVE) -> %u\n", s, sock->conn->pcb.tcp->keepalive));
1308        break;        break;
1309      }  /* switch */      }  /* switch */

Legend:
Removed from v.1.16.2.2  
changed lines
  Added in v.1.16.2.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26