This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Knowing when bytes are actually finished sending?

I've read the CC3000 sends data asyncronously. Can anyone point me to a place in the API that lets me check that the bytes sent have been received by a TCP client via socket.cpp:

send(INT32 sd, const void *buf, INT32 len, INT32 flags)

My understanding is that these the byes sent via buf get to the CC3000 by this method, but I can't find any feedback to tell me they actually reached their intended destination. So I think I have to make a blind timing assumption by delaying before calling closesocket after sending all my bytes via socket.cpp:

INT32 closesocket(INT32 sd)

If anyone can point me in the right direction here, I'd really appreciate it!