Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: problems communication protocol with external server

"servers log says that i send all zeros"


Have you put a break point at:

_out.write(bufhello, 0, 8); // 8 bytes to start the connection


and checked that bufhell contains the data you expect?


To test this another way, you could replace your code with

_out.write("UB00000001".getBytes()); // 8 bytes to start the connection