[En-Nut-Discussion] Disconnect Cable
Dusan Ferbas
dferbas at dfsoft.cz
Thu Mar 3 13:30:06 CET 2005
Hi Hermann,
I am not sure if this can be an ARP problem. In any case you can try 'arp
-d x.x.x.x' on the PC. 'arp -a' gives you list of arp table. Deleting en
ARP entry will force PC to send an ARP request. If this will wake up
communication you will know st more.
>Hello,
>
>I use Eternut 2 with Atmega 128 and the Software 3.9.1.
>What must I do that the TCP Protocol works again, after a disconnected
>Ethernet cable.
>Mostly a reconnection from the PC is not possible. Only after a reset.
>The "stream->so_state == 4 "(Established).
>When I close the PC programm and start the programm later,it works very
>good.
>if(sock2->so_state != TCPS_ESTABLISHED)
>{
> fclose(stream2);
> NutTcpCloseSocket(sock2);
> NutThreadYield();
>}
>
>regards
Dusan
More information about the En-Nut-Discussion
mailing list