I have some code which works great, based on the echo client example.
I'm working on hardening it, and I'm wondering with how best to deal with a
dead TCP connection as a result of the network link being down (ie,
Ethernet cable disconnected).
The echo client contains conditions for a software te
Additionally, what is the best way to determine if a TCP connection failed
(ie, the server is down)?
It seems like the jump occurs between
// Fill in IP and connect
IP4_ADDR(&DestIPaddr, SERVER_ADDR0, SERVER_ADDR1, SERVER_ADDR2,
SERVER_ADDR3);
tcp_connect(appPcb, &DestIPaddr, SERVER_PORT, NetworkA
I had to access my PHY chip to get the status of the line... using 1.4.1
here on an Atmel SAME4E.
...
gmac_enable_management(GMAC, true);
gmac_phy_read(GMAC, BOARD_GMAC_PHY_ADDR, GMII_BMSR, &ul_stat1);//
get status from PHY
gmac_enable_management(GMAC, false);
if ((ul_
On 01/24/2018 10:35 AM, Chris Seto wrote:
I have some code which works great, based on the echo client example.
I'm working on hardening it, and I'm wondering with how best to deal
with a dead TCP connection as a result of the network link being down
(ie, Ethernet cable disconnected).
This
On 24.01.2018 18:16, Joel Cunningham wrote:
On 01/24/2018 10:35 AM, Chris Seto wrote:
I have some code which works great, based on the echo client example.
I'm working on hardening it, and I'm wondering with how best to deal
with a dead TCP connection as a result of the network link being down