Anonymous
Not applicable
Sep 17, 2014
06:17 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 17, 2014
06:17 PM
Hi,
I'm debugging a tcp transfer test that the receiver does not receive data correctly.
Then I found wiced_tcp_send_buffer() may return 16 (WICED_WOULD_BLOCK)
sometimes when test transfering data.
What is the proper way to handle the WICED_WOULD_BLOCK case?
WIll the wiced_tcp_send_buffer() call send out the data eventually even if it returns WICED_WOULD_BLOCK?
If yes, how can I tell if the send out data is done.
If not, should I call wiced_tcp_send_buffer() again to resend the data?
(My test is on FreeRTOS+LwIP with SDK-3.1.0-beta1)
Thanks.
5 Replies