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

Lee hyun-Keun hyun at argostech.co.kr
Mon Feb 2 12:58:55 CET 2004


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.egnite.de/pipermail/en-nut-discussion/attachments/20040202/e32e035a/attachment-0001.html>


More information about the En-Nut-Discussion mailing list