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

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:


  Message sent via/by Savannah

reply via email to

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