Kieran Mansley wrote:
On Tue, 2008-10-07 at 02:44 -0700, Emmanuel Baguia Jr. wrote:
My problem here is that the acceptmbox value is NULL inside the accept
() function which will prompt to "invalid acceptmbox" assertion
message. I have read some discussions that the acceptmbox is
initialized in the lwip_listen() function which will eventually call
the netconn_listen function.

That's the way it should work.  If you're having to initialise this
yourself something is wrong.  Try and work out why it's not getting set
in the "do_listen()" function when you call netconn_listen or
lwip_listen
A fast way to see if there's an error or not (in do_listen(), I mean), would be to check conn->err after netconn_listen() returned. If conn->acceptmbox is NULL, conn->err should be != ERR_OK.

Simon


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

Reply via email to