FANDOM


netconn_writeEdit

err_t netconn_write ( struct netconn * aNetConn, const void * aData, 
                                       size_t aSize, u8_t aApiFlags );
  • aNetConn : the netconn object the data is written to
  • aData : address of beginning of the data to write
  • aSize : the length of the data in bytes
  • aApiFlags : either of
    • NETCONN_NOCOPY if the data is stable for the time of the transmission (static data or heap)
    • NETCONN_COPY if the data is not stable for the time of the transmission (stack)

Write data to an active netconn connection. See example in netconn_connect (). You might want to have a look to the Nagle Algorithm in the Raw API, Miscellaneous. Nagle handles the problem of small data to overhead ratios.


(last changed: June 16, 2011)

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.