MCU: TM4C1294NCPDT
TI-RTOS: v2.01.00.03
NDK: v2.23.01.01
CCS: v6.0.1.0040
-
Hello,
How do we figure out that just before we put some data in a socket (outgoing data) the socket is still connected? Which function should be or can be used for this?
-
When we call the connect() function, the TCP socket gets connected & when we call the send() function, data is sent out through that socket. I understand that if the socket is NOT connected, then send() function will reply/return some error code, but before initiating a data sending through the socket using send() function, I want to check whether the socket connection is still live or it have been disconnected by the network terminal connected at the other end of the network. How to accomplish this?
-
Thanks
Regards
Soumyajit