in reply to Re^3: Net::Server only sends 128bytes at a time
in thread Net::Server only sends 128bytes at a time

Something is wacky with this thread...I have the checkbox to "show unapproved nodes" set, but I still can't see the last three posts, or reply to them. Sorry for breaking the thread flow here.

The window size is only 256 on the reply packets from my target device. The window size for the packets coming from my perl script, that are being broken down to 128 bytes, is 5840.
TCP atmp > 53618 PSH, ACK Seq=104 Ack=105 Win=5840 Len=78

I'll try your code and post back.
Thanks,
Aaron

UPDATE: Looks like the same issue with your posted C code. I'm off to see the wizard. (somewhere else).
Thanks for your help!
Aaron

  • Comment on Re^4: Net::Server only sends 128bytes at a time

Replies are listed 'Best First'.
Re^5: Net::Server only sends 128bytes at a time
by ikegami (Patriarch) on Dec 18, 2009 at 18:27 UTC

    Something is wacky with this thread...I have the checkbox to "show unapproved nodes" set, but I still can't see the last three posts,

    Everyone can see unapproved nodes. That setting simply controls whether they're shown in Seekers of Perl Wisdom and similar.

    Perhaps what you want is to increase the reply depths (see the bottom of User Settings). If that's the problem, you can also see the "missing" nodes by viewing a less distant ancestor than the root node of the thread.

Re^5: Net::Server only sends 128bytes at a time
by zwon (Abbot) on Dec 18, 2009 at 19:02 UTC

    Window size is the maximum amount of data that you can send to the peer. In this case by setting window to 256 your device shows that it ready to receive 256 bytes of data starting from seq=0.

      Just closing out this thread.
      Yes it was the window setting. I had set it to a define that seemed correct, RX_BUFFER, but this was for the serial port, and it was indeed 256.
      Setting WIN to it's max, I can now get much larger chunks of data through.

      Thanks,
      Aaron