Shrikanth Kalluraya
Shrikanth Kalluraya

Reputation: 1119

Send and receive from Socket in Android Java

Hi All I have a small question.

Now my Problem is in client I will be sending data continuously with out caring about acknowledgement example:

If any error occurs and client receives the error message from the server then the client has to resend the data. One way is to send the data and wait for acknowledgement. I don't want client to wait for servers ack because chances of error are very less. Can any one tell me some good solution to this?

Upvotes: 0

Views: 367

Answers (1)

P.T.
P.T.

Reputation: 25177

Have the error message include the 'index' the client should restart sending at.

Upvotes: 1

Related Questions