ken-hutchinson commented on issue #16814: URL: https://github.com/apache/nuttx/issues/16814#issuecomment-3246712579
Hi All. I've made some progress, but have an issue I hope someone can help with. A quick summary of how it works is here: https://nuttx.apache.org/docs/latest/components/net/pkt.html Another helpful example here: https://github.com/microchip-ung/lan937x_linux/blob/main/src/Atmel_SOC_SAMA5D3/buildroot_external_lan937x/package/lan937x_tc/src/pkt_io.c#L603 My problem is when I call read(socket, buffer, sizeof(buffer)) the read function is blocking. Does not return until there is data to read. Also seems like non-raw traffic is blocked. Ping is fine outside this, but didn't work while 'read' is waiting. Does this sound right? Is there a better way to do this? thanks Ken -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
