[Top][All Lists]

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

[lwip-devel] [patch #5211] Sockets: Non-blocking write support

From: anonymous
Subject: [lwip-devel] [patch #5211] Sockets: Non-blocking write support
Date: Thu, 29 Jun 2006 09:55:35 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7


                 Summary: Sockets: Non-blocking write support
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: None
            Submitted on: Thursday 06/29/2006 at 09:55 UTC
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: address@hidden
             Open/Closed: Open



The attached patch adds non-blocking support to lwip_send().

It checks the TCP sndbuf to find if space is available before calling
netconn_write(). If enough space is available, the write will go ahead. If
not enough space is available, the call returns. The result is that the call
will not block on space becoming available in the sndbuf. Write sockets can
be added to select() to find out when sndbuf space becomes available.

Kelvin Lawson.


File Attachments:

Date: Thursday 06/29/2006 at 09:55 UTC  Name: non-blocking-writes.patch 
Size: 2.49KB   By: None



Reply to this item at:


  Message sent via/by Savannah

reply via email to

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