[En-Nut-Discussion] NutTcpConnect(sock, inet_addr(ip), 80 ); - waiting forever???

Igor V. Tchibirev tchib at intech21.com
Mon Jan 27 17:58:37 CET 2003

If I use

NutTcpConnect(sock, inet_addr(ip), 80 );

when Ethernet cable is unplugged after reset and is plugged a couple of
seconds later this function is hanging up!!!

Meantime if the Ethernet cable is unplugged AFTER previous successful
connection this NutTcpConnect(sock, inet_addr(ip), 80 ) function has come
back in correct delay time with correct error code.

Maybe there is any secret I don't know?

Thank you,

Igor Tchibirev

System software developer
Intech 21, Inc.
50 Glen Street,
Glen Cove, NY, 11542
516 656 5581 x228

More information about the En-Nut-Discussion mailing list