lwip-users-bounces+christiaan.simons=[hidden email] wrote on 30-11-2005
> After getting the latest revision in CVS, the inet.c (line 75) file is
> updated with "dataptr = ((char*)dataptr+2);" is replaced with line "(void
> *)((u16_t *)dataptr + 1);"
> This seems to be a bug or?
We've noticed this may be bug.
I was just fiddling to get it in
a workable state for the 16 bit c16x mcu.
The void pointer increment was clearly wrong,
the u16_t increment is only correct for aligned
The "two char" increment looks more correct,
but the routine will still fail for the c16x.
I'm a bit lost on how to get the checksumming
right for all architectures, both little-
an big-endian, 16-bit aligned and unaligned access.
The best thing you can do is stick with the lwip
release 1.1.0 for now.
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager.
This message contains confidential information and is intended only for the
individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail.
i wnna bulid up a Web Server by LwIP without OS . However , i can't come up with how can i handle multi-connection . Can somebody give me some example and tell me how the tcp_listen() work? thanks a lot
It makes a call to fs_open in fs.c (which
I did not include as it is modified per application with a static file table to
emulate a ROM file system).
Fs_open sets a fs_file structure with a
pointer to the data to send and the length.
Hope this helps.
-----Original Message----- From: lwip-users-bounces+kkobel=[hidden email]
[mailto:lwip-users-bounces+kkobel=[hidden email]] On Behalf Of ³¯ ¤p¾Ö Sent: Monday, December 19, 2005
8:06 AM To:[hidden email] Subject: [lwip-users] Web Server
i wnna bulid up a Web Server by LwIP without OS . However , i can't come up
with how can ihandle
multi-connection . Can somebody give me some example and tell me how the
thanks a lot
YM - 離線訊息 就算你沒有上網，你的朋友仍可以留下訊息給你，當你上網時就能立即看到，任何說話都冇走失。