Search:

Type: Posts; User: Sean4u

Search: Search took 0.09 seconds.

  1. Replies
    17
    Views
    2,240

    Re: Java socket corruption

    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...
  2. Replies
    17
    Views
    2,240

    Re: Java socket corruption

    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...
  3. Replies
    17
    Views
    2,240

    Re: Java socket corruption

    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...
  4. Replies
    17
    Views
    2,240

    Re: Java socket corruption

    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...
  5. Replies
    17
    Views
    2,240

    Re: Java socket corruption

    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...
  6. Replies
    17
    Views
    2,240

    Re: Java socket corruption

    '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...
  7. Replies
    17
    Views
    2,240

    Re: Java socket corruption

    You get a different corrupted version each time? Nothing in Java will be causing that.
  8. Replies
    17
    Views
    2,240

    Re: Java socket corruption

    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...
Results 1 to 8 of 8