I need to transfer some data to a Tor hidden service through a custom protocol. If I did it in TCP, a successful
send(socket_to_server, data, data_length, 0); would mean that all data had been written and all the necessary ACKs received.
Tor works as a SOCKS proxy, so it is TCP-like to some extent. Is it possible for Tor to silently lose data intended for a hidden service, so I have to implement an ACK message myself?