[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] problems serving larger data with netconn_write()
From: |
Andre Puschmann |
Subject: |
[lwip-users] problems serving larger data with netconn_write() |
Date: |
Wed, 11 Oct 2006 21:52:09 +0200 |
User-agent: |
Thunderbird 1.5.0.4 (X11/20060619) |
Hey Folks,
we are using lwip on a custom ppc-based board.
there is a small web-server running on the board which uses the raw
lwip-api.
for some reason the server lacks serving a sample bmp-image.
the header is transmitted correctly but lwip only sends a few bytes of
the real image data.
here is a code snippet:
for (ul_BytesSent = 0; ul_PackageSize < ul_BytesToSend; ul_BytesSent +=
ul_PackageSize)
{
netconn_write( ps_newconn,
pub_Image + ul_BytesSent,
ul_PackageSize,
NETCONN_NOCOPY);
ul_BytesToSend-=ul_PackageSize;
}
/* send rest */
...
and some ethereal captured data ..
it seems that the ack's are incorrect. ethereal mistake?
don't wonder about all the 0x00 :-)
thank you very much for any help!!
regards
andi
capture
Description: Binary data
- [lwip-users] problems serving larger data with netconn_write(),
Andre Puschmann <=