That seems overly complicated, what are you trying to do?
I *think* your bottle neck is that you're reading 1 byte at a time.
You need to read more, if you simply expand your buffer your code may
work.
The way I've done is is to have a separate thread that's strictly for
TCP communication. There
Hi,
in my application I need to send and receive data bytewise over TCP.
At the beginning of development I tried to implement that
functionality as resource-efficient as possible.
So I finally decided to use messages (android.os.Message) to
cyclically initiate reading bytes from socket.
After esta
Hi,
in my application I need to send and receive data bytewise over TCP.
At the beginning of development I tried to implement that
functionality as resource-efficient as possible.
So I finally decided to use Messages (android.os.Message) to
cyclically initiate reading bytes from socket.
After esta
3 matches
Mail list logo