How can I verify that a TCP packet has received an ACK in JAVA? -


after sending tcp data method (mine below)

dataoutputstream outtoserver = new dataoutputstream(clientsocket.getoutputstream()); outtoserver.writebytes(string); 

how can verify in java tcp data sent successfully? or there way of reading ack received (from tcpserver) ?

you cannot. operating systems typically not expose applications.

if need know whether data has made other end, need implement acks @ application protocol, not @ transport level tcp concerns with.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -