lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] file upload


From: Kieran Mansley
Subject: Re: [lwip-users] file upload
Date: Thu, 08 Mar 2007 14:39:41 +0000

On Thu, 2007-03-08 at 15:33 +0100, Heike Lepke wrote:
> Hi Kieran,
> 
> I have set  tcp_recv(pcb, http_recv);
> and in the http_recv(void *arg, struct tcp_pcb *pcb, struct pbuf *p,
> err_t err)
> -function I call tcp_recved(pcb, p->tot_len); to the passed tcp_pcb *pcb

OK.

> I see that for the packet which is mixed with the http-upload request
> and the data the p->len is set just to the length of the http-upload
> request in tcp_input(struct pbuf *p, struct netif *inp), the real
> data-len is ignored. But it seems that the data is inside the received
> p-payload, after the p->len. If an another data packets comes I don't
> get it. Do I have the chance to call an another tcp-function to get the
> missing data-packets?

I'm afraid I don't understand what the problem is you're describing
here.  Can you illustrate with the code you think is at fault?

Kieran





reply via email to

[Prev in Thread] Current Thread [Next in Thread]