lwip-devel
[Top][All Lists]
Advanced

[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

URL:
  <http://savannah.nongnu.org/patch/?func=detailitem&item_id=5211>

                 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

    _______________________________________________________

Details:

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

<http://savannah.nongnu.org/patch/download.php?file_id=10267>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?func=detailitem&item_id=5211>

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





reply via email to

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