[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] Netconn callback order
From: |
Bill Florac |
Subject: |
[lwip-devel] Netconn callback order |
Date: |
Wed, 20 Feb 2008 10:00:54 -0600 |
Is there a reason why the callback from netconn_new_with_callback() must occur
before the data is put into the mailbox rather than after (recv_udp() function
in api_msg.c)? I would like to make the receiving of packets (UDP) event based
rather than have to poll and wait for them. If the callback occurs after the
posting then I could get the data from the callback. Or, better yet, pass a
pointer to the netbuf in the callback and return a flag if the data has been
eaten skipping the mailbox all together.
Bill Florac
- [lwip-devel] Netconn callback order,
Bill Florac <=