[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Problem: new socket (lwip 1.3 + freeRTOS 5.3)
From: |
Kieran Mansley |
Subject: |
Re: [lwip-users] Problem: new socket (lwip 1.3 + freeRTOS 5.3) |
Date: |
Thu, 28 Jan 2010 13:01:18 +0000 |
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