blue box + raw protocol problem

Submit all your BlueBox related questions or report a bug here!

Moderators: Lapo, Bax

Boing
Posts: 59
Joined: 11 Apr 2008, 14:57

blue box + raw protocol problem

Postby Boing » 18 Dec 2008, 20:20

Hi everyone,

in our application we are using the raw protocol for some client/server communication. The transmitted data is of a very special format and can basically contain any character (with which I mean all 256 bit combinations) except "all bits zero". This works perfectly with a socket connection. But through the blue box in special cases the client receives other data than by using the socket.

As far as we have figured out so far these special cases have something to do with the first character being of value 10 (line feed) which seems to be replaced with value 32 (white space) when arriving at the client.
Does jetty perform this replacement?

Any hints on this problem?
User avatar
Lapo
Site Admin
Posts: 21228
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 19 Dec 2008, 07:26

Yes, you cannot use the LF character which is used internally to separate multiple messages.
Lapo
--
gotoAndPlay()
...addicted to flash games
Boing
Posts: 59
Joined: 11 Apr 2008, 14:57

Postby Boing » 19 Dec 2008, 09:12

Thanks for the answer.
As long as this is the only restriction we can live with that.

Just to be sure: Character value 0 and 10 are the only forbidden ones?
User avatar
Lapo
Site Admin
Posts: 21228
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 19 Dec 2008, 09:15

Correct
Lapo

--

gotoAndPlay()

...addicted to flash games
Boing
Posts: 59
Joined: 11 Apr 2008, 14:57

Postby Boing » 19 Dec 2008, 09:18

Cheers.

Return to “BlueBox”

Who is online

Users browsing this forum: No registered users and 1 guest