[email protected] wrote
> Send data before returning from *what*?

Returning out of the lwip_send function. I have read on several sources that
the bsd sockets were blocking (for instance here:
https://lwip.fandom.com/wiki/Application_API_layers )


[email protected] wrote
> Send data before returning from *what*? Because the default is that it
> doesn't wait. You can make it wait by enbling SO_LINGER, I think. Have
> you cross-checked the behaviour of Linux or another stack?

When enabling linger (and adding shutdown), I get the page fully loaded.

It appears to be a wrong expectation of my side once again, write() seems to
be blocking untill all data was queued, instead of sent.



--
Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html

_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to