Send lwip-users mailing list submissions to
address@hidden
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.nongnu.org/mailman/listinfo/lwip-users
or, via email, send a message with subject or body 'help' to
address@hidden
You can reach the person managing the list at
address@hidden
When replying, please edit your Subject line so it is more specific
than "Re: Contents of lwip-users digest..."
Today's Topics:
1. Server Program in Raw API without OS
(=?big5?q?=B3=AF=20=A4p=BE=D6?=)
2. TCP transmission error (boter)
3. Re: TCP transmission error (FreeRTOS Info)
----------------------------------------------------------------------
Message: 1
Date: Thu, 29 Dec 2005 10:38:20 +0800 (CST)
From: =?big5?q?=B3=AF=20=A4p=BE=D6?= <address@hidden>
Subject: [lwip-users] Server Program in Raw API without OS
To: address@hidden
Message-ID: <address@hidden>
Content-Type: text/plain; charset="big5"
Hi all:
I am going to do a project using LwIP without OS . my program can
transmited data yet . However , my tutor ask me to let the program can
process multi-connection . My question is that
1. How can i record that connection ? can i use a array(struct
tcp_pcb[]) after
listen() ?
2. If using array can work , How can i handle the closing ?
_______________________________________
YM - Â÷½u°T®§
´Nºâ§A¨S¦³¤Wºô¡A§AªºªB¤Í¤´¥i¥H¯d¤U°T®§µ¹§A¡A·í§A¤Wºô®É´N¯à¥ß§Y¬Ý¨ì¡A¥ô¦ó»¡¸Ü³£ÉN¨«¥¢¡C
http://messenger.yahoo.com.hk
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.gnu.org/pipermail/lwip-users/attachments/20051229/b4279475/attachment.html
------------------------------
Message: 2
Date: Thu, 29 Dec 2005 18:52:42 -0800
From: "boter" <address@hidden>
Subject: [lwip-users] TCP transmission error
To: "lwip-users" <address@hidden>
Message-ID: <address@hidden>
Content-Type: text/plain; charset="gb2312"
Hi all,
I writed a simple TCP-server program base on Rowley webserver demo
using lwip.
the server function is that transmit back what it received. when the
function netconn_recv()
is executed the fifth time ,the error will occur . I traced the program .
I found the case is the
function netconn_recv() cann't obtain memory for the new incoming data.
(the return of
buf = memp_malloc(MEMP_NETBUF) in netconn_recv() function is NULL) . so
the server
program cann't receive incoming data again. I changed MEM_SIZE from 2000
to 4000 ,but
the result is same. if anyone need the source code ,please email to me .
or anybody send
me your successful program of TCP communication. let me appreciate your
experience.
My email address : address@hidden
Thanks
Boter
29 Dec, 2005
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.gnu.org/pipermail/lwip-users/attachments/20051229/a2b62a83/attachment.html
------------------------------
Message: 3
Date: Thu, 29 Dec 2005 12:35:56 -0000
From: "FreeRTOS Info" <address@hidden>
Subject: Re: [lwip-users] TCP transmission error
To: "Mailing list for lwIP users" <address@hidden>
Message-ID: <address@hidden>
Content-Type: text/plain; charset="gb2312"
I writed a simple TCP-server program base on Rowley webserver demo
using lwip.
For ARM?
the server function is that transmit back what it received. when the
function netconn_recv()
is executed the fifth time ,the error will occur .
Sounds like you are not freeing memory correctly.
or anybody send
me your successful program of TCP communication.
let me appreciate your experience.
I don't know if this is what you have seen already - but the FreeRTOS.org
WEB site (link below) has an lwIP server demo also using Rowley tools.
May
help.
Regards,
Richard.
http://www.FreeRTOS.org
------------------------------
_______________________________________________
lwip-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users
End of lwip-users Digest, Vol 28, Issue 27
******************************************