In my client server socket
Java programming, I'm receiving 18 bytes data from client(read from a tracking device) to my server, after some research on this 18 bytes data I presume that this 18 bytes are so called Heart Beat packets and I need to acknowledge the client with some Heart Beat response packet which I don't how to do it.
Kindly guide. I happy to post my code also which is very simple and LOC is minimal if that gives a clear picture.
I would really appreciate if anyone could give me some code examples on how to send the Heart Beat Package back to client.