Ya, I'm using 4.2. Now i'm looking for a better solution rather than multi- thread. I've been searching for a week but cannot find one..
i am not sure about 4.3, but in 4.2 its blocking - means nothing happens till a connection is etablished.
you may want to put it in a thread so your programm keeps running, same for receiving data