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: Sat, 18 Nov 2006 21:02:46 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.8.0.7) Gecko/20060921 Ubuntu/dapper-security Firefox/1.5.0.7

Follow-up Comment #2, patch #5211 (project lwip):

As this is a useful feature and is a step towards full BSD sockets
compliance, how about providing a second API such as:

netconn_write_extended (..oldparams.., u8_t block_flag)
{

}

The netconn_write() API can then remain as a simple wrapper function:

netconn_write (..oldparams..)
{
  return (netconn_write_extended (..., TRUE));
}

The sockets layer can take advantage of the new API, while still retaining
backwards compatibility.

I used this method recently to implement non-blocking connect() calls.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?5211>

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





reply via email to

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