On Wed, 2010-01-27 at 03:47 -0800, acemax wrote:
> [Avatar]
> 2010-01-26 21:07:59 UTC
> Hello,
> 
> I'm trying to implement the code below, but it stops in the line sock =
> socket(AF_INET, SOCK_DGRAM, 0);
> 
> the message is "sys_arch_timeouts: ptask != NULL"

I would guess you haven't properly initialised lwIP.

> bind(sock, (struct sockaddr *)&sLocalAddr, sizeof(sLocalAddr));
> 
> lwip_close(sock);

That looks wrong too.

Kieran



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

Reply via email to