Results 1 to 1 of 1
  1. #1
    ajordanneve is offline Member
    Join Date
    Mar 2009
    Rep Power

    Default Losing Packets/Bytes using DataInputStream and socket

    I have a serial to wifi bridge/device server that hosts a webpage with an applet running. The applet opens a socket with the device that uses tunneling to get the bytes through the UART and then stores them in a byte array. If we keep the speed to a minimum, ie 115200kbps or below, we can generally get all 80000 bytes. However, we need to run at around 900+, and we are loosing anywhere up 36000. Obviously, we have done all the usual hardware debugging, and we have quadruple checked the baud rates to make sure they are the same. Is there any method that I can employ that will stop my byte-loss?

    Also, we are sending images in an attempt to do some streaming video from a cell camera, so the source is bytes streaming from the DMA on our microcontroller
    Last edited by ajordanneve; 03-24-2009 at 06:26 AM.

Similar Threads

  1. Problems with JFrame losing the Design view
    By in forum NetBeans
    Replies: 7
    Last Post: 07-23-2008, 08:35 AM
  2. Regarding UDP Datagram packets
    By Raghavendra in forum Networking
    Replies: 1
    Last Post: 06-11-2008, 12:12 AM
  3. Encrypting packets
    By bugger in forum Networking
    Replies: 2
    Last Post: 02-04-2008, 11:24 AM
  4. Replies: 1
    Last Post: 08-07-2007, 08:16 AM
  5. How to capture IP packets
    By Hasan in forum Networking
    Replies: 1
    Last Post: 05-31-2007, 06:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts