[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] lwip tcp hangup
From: |
Simon Goldschmidt |
Subject: |
Re: [lwip-users] lwip tcp hangup |
Date: |
Thu, 01 Sep 2011 11:23:01 +0200 |
vincent cui <address@hidden> wrote:
> while (1)
> {
> clientfd = lwip_accept(lSocket, (struct sockaddr*)&client_addr,
> &addrlen);
> if (clientfd > 0)
> {
> xTaskCreate( httphandler, NULL, 128, (void *)&clientfd,
> HTTP_TASK_PRIORITY, NULL );
> vTaskDelay(100);
> }
> else
> {
> lwip_close (clientfd);
> }
> }
>
>
> I have added it after accept loop....
No, after the accept() call, but before the next accept() call in the loop, so
between 2 calls to accept(), you will delay.
Simon
--
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
- Re: [lwip-users] lwip tcp hangup, (continued)
- Re: [lwip-users] lwip tcp hangup, Simon Goldschmidt, 2011/09/01
- Re: [lwip-users] lwip tcp hangup, vincent cui, 2011/09/01
- Re: [lwip-users] lwip tcp hangup, Simon Goldschmidt, 2011/09/01
- Re: [lwip-users] lwip tcp hangup, vincent cui, 2011/09/01
- Re: [lwip-users] lwip tcp hangup, vincent cui, 2011/09/01
- Re: [lwip-users] lwip tcp hangup, Simon Goldschmidt, 2011/09/01
- Re: [lwip-users] lwip tcp hangup, vincent cui, 2011/09/01
- Re: [lwip-users] lwip tcp hangup, Simon Goldschmidt, 2011/09/01
- Re: [lwip-users] lwip tcp hangup, vincent cui, 2011/09/01
- Re: [lwip-users] lwip tcp hangup, vincent cui, 2011/09/01
- Re: [lwip-users] lwip tcp hangup,
Simon Goldschmidt <=
- Re: [lwip-users] lwip tcp hangup, FreeRTOS Info, 2011/09/01
- Re: [lwip-users] lwip tcp hangup, vincent cui, 2011/09/01
- Re: [lwip-users] lwip tcp hangup, Simon Goldschmidt, 2011/09/01
- Re: [lwip-users] lwip tcp hangup, FreeRTOS Info, 2011/09/01
- Re: [lwip-users] lwip tcp hangup, vincent cui, 2011/09/01
- Re: [lwip-users] lwip tcp hangup, vincent cui, 2011/09/01
- Re: [lwip-users] lwip tcp hangup, Simon Goldschmidt, 2011/09/01
- Re: [lwip-users] lwip tcp hangup, vincent cui, 2011/09/01
- Re: [lwip-users] lwip tcp hangup, vincent cui, 2011/09/01
- Re: [lwip-users] lwip tcp hangup, vincent cui, 2011/09/07