M
M
MrStuff882016-10-15 16:02:27
Java
MrStuff88, 2016-10-15 16:02:27

How to communicate over TCP using byte arrays in Android(Java)?

Good afternoon. There is a task to implement the communication of an android application with the north via the TCP protocol using byte arrays. I have never encountered TCP before and therefore a lot of questions arise. I learned to send/receive simple strings, but there are problems with byte arrays. Tell me how to implement it correctly or share a link to the manual (Russian / English). Off. The documentation has no recommendations on this. I climbed the whole Google (maybe not very well), but because I don’t really operate with concepts from this area, I can’t design a normal question.
I hope I explained my thoughts clearly, I will be glad to any comments and tips)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
FoxInSox, 2016-10-15
@FoxInSox

1. Google: java tcp byte array
2. First line: stackoverflow.com/questions/2878867/how-to-send-an...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question