lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] tcp_connection cann't start the callback function after


From: vincent cui
Subject: Re: [lwip-users] tcp_connection cann't start the callback function after connection successfully
Date: Tue, 6 Sep 2011 10:17:49 +0000

Keiran:

I use netstat to dump the currect tcp status. The attached show that "TCP 
192.168.1.104:60530   192.168.1.48:ftp  ESTABLISHED"

But the TCP core still enter the callback function. 
The ftp at windows7 side message is followed:
------------------------------------------------------------------------------------
ftp> open 192.168.1.48
Connected to 192.168.1.48.
220 lwIP FTP Server ready.
331 User name okay, need password.
230 User logged in, proceed.
Anonymous login succeeded for address@hidden
ftp> get ff.dd
200 Command okay.
150 Opening BINARY mode data connection for ff.dd (8 bytes).

Halt here 
----------------------------------------------------------------------------------------

The capture package show that my ftp server doesn't send file data to 
client...instead, the client pc send a ACK to my server.
Please check attached file 

BTW, 192.168.1.48 is my server ip, 192.168.1.104 is my client ip



锘?Vincent Cui
Sr.Firmware Engineer
Mobile: +8613482482211
Tel: +86 21 34612525x6104
Fax: +86 21 34619770
E-Mail: address@hidden
Shanghai EnLogic Electric Technology Co., Ltd.
Address: 1104-1106, Building A, No.391, Guiping Road, Xuhui District, Shanghai, 
200233
http://www.enlogic.com

-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of Kieran Mansley
Sent: 2011年9月6日 17:27
To: Mailing list for lwIP users
Subject: Re: [lwip-users] tcp_connection cann't start the callback function 
after connection successfully

On Tue, 2011-09-06 at 09:21 +0000, vincent cui wrote:
> But after tcp_connection return correctly, the ftpd_dataconnected
> callback is not executed.

The callback is only called when the connection is fully established and
acknowledged by the server.  If you not getting the callback in that
situation, then something is wrong.

Kieran


_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users

Attachment: Untitled.png
Description: Untitled.png

Attachment: Udddntitled.png
Description: Udddntitled.png


reply via email to

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