Hello, I'm leaning about networking, specifically the TCP protocol on zephyr and was curious about acknowledgement.
My goal is -
- open socket -> BSD function "socket"
- connect -> BSD function "connect"
- send data -> BSD function "send"
- close socket -> BSD function "close"
I have this communication working but what happens if the network fails. Using the BSD socket functions, "socket & connect " connect fails if the server is down. Lets say, the sever fails after the connect function. the send command still goes through with no issues. is there an acknowledgement to see if the data is sent successfully?