lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] What's wrong?


From: 陈重远
Subject: [lwip-users] What's wrong?
Date: Fri, 15 May 2009 18:24:31 +0800

Hello everyone,

I have ported ucos and lwip to pxa255.
LwIP version is 0.7.0.

When I run an simple http server,things go wrong.
Server can receive data from client.But the client can only receive a small part data sent by server.
Then client blocks forever,server tries sending again and again,but never works.

Here is output:

before main_httpd
lwip_socket(PF_INET, SOCK_STREAM, 0) = 0
lwip_bind(0, addr=192.168.51.200 port=80)
tcp_bind: bind to port 80
lwip_bind(0) succeeded
lwip_listen(0, backlog=128)
httpCreate ok
libhttpd/test_httpd.c:189 - after httpdCreate
in main_httpd
while 1
httpdGetConnection:before accept
lwip_accept(0)...
TCP header:
.....
.....
(Here client receives some data,then...)
.....
smf calling h=A100BA90(0)
tcp_slowtmr: processing active pcb
tcp_slowtmr: polling application
tcp_output: nothing to send (0)
tcp_output: snd_wnd 5840, cwnd 512, wnd 512, seg == NULL, ack 6520
sys_timeout: A1137EE0 msecs=250 h=A100BA90 arg=0
smf calling h=A100BA90(0)
sys_timeout: A1137EE0 msecs=250 h=A100BA90 arg=0
smf calling h=A100BA90(0)
tcp_slowtmr: processing active pcb
tcp_slowtmr: polling application
tcp_output: nothing to send (0)
tcp_output: snd_wnd 5840, cwnd 512, wnd 512, seg == NULL, ack 6520
sys_timeout: A1137EE0 msecs=250 h=A100BA90 arg=0
smf calling h=A100BA90(0)
sys_timeout: A1137EE0 msecs=250 h=A100BA90 arg=0
smf calling h=A100BA90(0)
tcp_slowtmr: processing active pcb
tcp_slowtmr: polling application
tcp_output: nothing to send (0)
tcp_output: snd_wnd 5840, cwnd 512, wnd 512, seg == NULL, ack 6520
sys_timeout: A1137EE0 msecs=250 h=A100BA90 arg=0
smf calling h=A100BA90(0)
sys_timeout: A1137EE0 msecs=250 h=A100BA90 arg=0
smf calling h=A100BA90(0)
tcp_slowtmr: processing active pcb
tcp_slowtmr: polling application
tcp_output: nothing to send (0)
tcp_output: snd_wnd 5840, cwnd 512, wnd 512, seg == NULL, ack 6520
sys_timeout: A1137EE0 msecs=250 h=A100BA90 arg=0
smf calling h=A100BA90(0)
sys_timeout: A1137EE0 msecs=250 h=A100BA90 arg=0
smf calling h=A100BA90(0)
tcp_slowtmr: processing active pcb
tcp_slowtmr: rtime 5 pcb->rto 5
tcp_output: snd_wnd 5840, cwnd 512, wnd 512, effwnd 176, seq 6520, ack 6520
tcp_output: snd_wnd 5840, cwnd 512, wnd 512, effwnd 176, seq 6520, ack 6520, i0
tcp_output_segment: rtseq 6520
tcp_output_segment: 6520:6696
tcp_output: snd_wnd 5840, cwnd 512, wnd 512, effwnd 176, seq 6696, ack 6520, i1
tcp_output_segment: 6696:6696
tcp_slowtmr: cwnd 256 ssthresh 256
tcp_slowtmr: polling application
tcp_output: nothing to send (0)
.....
.....


reply via email to

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