[Top][All Lists]

[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: Gecko/20071008 Firefox/

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).


(file #14272)

Additional Item Attachment:

File name: LWIP_SO_RCVBUF.txt             Size:2 KB


Reply to this item at:


  Message posté via/par Savannah

reply via email to

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