The way the data starts out 'bad' but ends up ok makes me think your problem is at source - and probably something to do with some bit-serial code somewhere. If you're using a Java Socket as your...
Type: Posts; User: Sean4u
The way the data starts out 'bad' but ends up ok makes me think your problem is at source - and probably something to do with some bit-serial code somewhere. If you're using a Java Socket as your...
Like I've already said more than once: I don't think there's anything wrong (that would cause the problems you report) with your Java code.
When you test your code to get the outputs you've...
You're wasting your time trying to get your Java code working when you say you've seen scrambled data at the network level. I think your problem is between the device and your PC. Where is the...
That's not what I meant - what I mean is "what is offering port 7000" on your PC? I see in one of your programs that you open a ServerSocket on port 7000, but I don't understand why you'd read...
I doubt there's anything wrong with your Java which will be causing this problem. What's on port 7000? Have you tried using telnet or a terminal emulator on that port? Does that give you good output...
'Surprisingly'! How can the C# method work when you can see corruption in the data at the NIC? Are you running the C# program on the same PC you're running the Java program on? The problem appears to...
You get a different corrupted version each time? Nothing in Java will be causing that.
Interesting that the output "sorts itself out" after a few characters. The upside-down question marks may be your terminal's best effort to print something that's not in its character set and may not...