Simon, or whoever, I want to call netconn_recv without blocking to check for a message. In a previous message you said: "If you are using lwIP 1.3.0 or newer (CVS), to achieve what you want, have a look into the netconn_recv() function: when you have LWIP_SO_RCVTIMEO defined to 1, sys_arch_mbox_fetch() gets called with a timeout defined in the netconn (conn->recv_timeout), an int which you can set to whatever you want, e.g. set it to -1 and let sys_arch_mbox_fetch() return immediately if timeout is -1."
So, does implementing this create a way to peek for a message? What should I return as the 'timespent' value? I'm using lwIP 1.3.0. Thanks, Dave _______________________________________________ lwip-users mailing list lwip-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/lwip-users