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

Attachment: capture
Description: Binary data

_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to