lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [task #7421] Implement SO_RCVBUF


From: Frédéric Bernon
Subject: [lwip-devel] [task #7421] Implement SO_RCVBUF
Date: Thu, 01 Nov 2007 20:32:30 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; fr; rv:1.8.1.8) Gecko/20071008 Firefox/2.0.0.8

Update of task #7421 (project lwip):

        Percent Complete:                      0% => 10%                    

    _______________________________________________________

Follow-up Comment #2:

I attach a first patch (there is not the sockets.c/.h and opt.h part). It
just process UDP & RAW netconn (since TCP not need it).

It's mainly a new "netconn::recv_bufsize" field, initialized to 0xffffffff
(without any real limit), that can be set to a lower value to be able to limit
the number of bytes in the "netconn::recvmbox". It used the
"netconn::recv_avail" field (not very well protected for thread-safing).

Comments?


(file #14272)
    _______________________________________________________

Additional Item Attachment:

File name: LWIP_SO_RCVBUF.txt             Size:2 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?7421>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.nongnu.org/





reply via email to

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