AW: [En-Nut-Discussion] NutTcpConnect() question.

Oliver Schulz Oliver.Schulz at bong.de
Mon Feb 2 13:22:33 CET 2004


Hi Lee,

this bug should be fixed in version 3.4.x. Which version of Nut/OS are you using? Look in os/version.c.

Obtain the latest release from http://www.ethernut.de    

Cheers,
Oliver.
-----Ursprungliche Nachricht-----
Von: en-nut-discussion-bounces at egnite.de [mailto:en-nut-discussion-bounces at egnite.de]Im Auftrag von Lee hyun-Keun
Gesendet: Montag, 2. Februar 2004 12:59
An: en-nut-discussion at egnite.de
Betreff: [En-Nut-Discussion] NutTcpConnect() question.


Hi, everyone. I'm new to this mailing list and to ethernut, I'm calling for your help... ;-)
After some verification of my homemade hardware with your sample applications,
I modified tcps.c to make it a tcp client.
But if NutTcpConnect() is called when there is no server program listent on the port,
the function never returns...
i.e.
1) start server program first. turn on ethernut after : O.K. 
2) turn on ethernut first, start server program after : Blocked on NutTcpConnect.

packets captured on case (1) with ethereal shows:
ethernut -> server  port4097 > port7050 [SYN] Seq=1000000 Ack=0 Win=3216 Len=0
server->ethernut    port7050 > port 4097 [RST, ACK] Seq=0 Ack=1000001 Win=0 Len=0

Thanks in advance for your help.



More information about the En-Nut-Discussion mailing list