[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] HTTP client with raw tcp
From: |
Andy Pont |
Subject: |
Re: [lwip-users] HTTP client with raw tcp |
Date: |
Wed, 25 Nov 2015 18:27:06 -0000 |
To (part) answer my own question...
> Following that code, it is trying to work but the call to tcp_connect()
> hangs when it tries to execute the following line:
>
> TCP_REG_ACTIVE(pcb);
Within the TCP_REG_ACTIVE() definition there is a call to tcp_timer_needed()
which eventually makes its way to sys_now().
It appears that my sys_now() function is hanging despite the fact it worked
when being used in the DHCP process and the UDP connection that entailed.
I guess this makes it something dumb I've done in the port rather than the
stack itself!
Andy.