B4J Question B4j Telnet Socket recieving unexpected character.

Gary Miyakawa

Active Member
Licensed User
Longtime User
I'm using the same telnet routine that I use with B4A which normally works correctly. My application under B4A works fine but when I use B4J to recieve the same string, I get something different.

Below is the correct information as recieved from Telnet/putty/vtc-remote/etc.

callinfo begin
callinfo:36:RMX10:140.242.210.12##761123:384:connected:notmuted:eek:utgoing:videocall
callinfo end

When recieved thru B4J I get the following...

callinfo begin
callinfo:36:RM10:140.242.210.12##761123:384:connected:notmuted:eek:utgoing:videocall
callinfo end

Notice there is a missing X after :RM...
I've looked at this record saved and the "character" represented there is a "DC4" (x14). I've included a sample of the log that I capture as an attachment. Open it with Notepad++ to see the "DC4".

I've also done a sniff trace of the data and the data is correct coming across the network.

Am I missing a mapping of characters ?

Any suggestions would be of great help!

Thanks,

Gary Miyakawa
 

Attachments

  • FailedCharacters.zip
    823 bytes · Views: 210

Gary Miyakawa

Active Member
Licensed User
Longtime User
Thank you!

When putting the code together to post to you, I found MY error. I had a left over .replace that was converting the character.

Thanks again for great software (and support !)

Gary Miyakawa
 
Upvote 0
Top