From a5b0ea97d6c9b3587b756ef5f9ab82db2aa88985 Mon Sep 17 00:00:00 2001 From: goldsimon Date: Sun, 21 Mar 2010 12:19:56 +0000 Subject: [PATCH] Updated netconn_write doc/comment about api_flags --- src/api/api_lib.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/api/api_lib.c b/src/api/api_lib.c index b334dca9..294c49be 100644 --- a/src/api/api_lib.c +++ b/src/api/api_lib.c @@ -553,8 +553,9 @@ netconn_send(struct netconn *conn, struct netbuf *buf) * @param dataptr pointer to the application buffer that contains the data to send * @param size size of the application data to send * @param apiflags combination of following flags : - * - NETCONN_COPY (0x01) data will be copied into memory belonging to the stack - * - NETCONN_MORE (0x02) for TCP connection, PSH flag will be set on last segment sent + * - NETCONN_COPY: data will be copied into memory belonging to the stack + * - NETCONN_MORE: for TCP connection, PSH flag will be set on last segment sent + * - NETCONN_DONTBLOCK: only write the data if all dat can be written at once * @return ERR_OK if data was sent, any other err_t on error */ err_t