in reply to Re^2: Net::Server only sends 128bytes at a time
in thread Net::Server only sends 128bytes at a time
I don't see problem here. I can suggest the following, first try my example and see if data will be sent by one chunk or will be divided onto several packets:
Second, "firmware" makes me think that there's some device on the other end. Is it able to handle packets bigger than 128 bytes? Look if there's MSS option in SYN packet.#!/usr/bin/perl -w use strict; use warnings; package MyPackage; use base qw(Net::Server::PreFork); sub process_request { my $self = shift; print 'x' x 1024; } MyPackage->run( port => 7777 );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Net::Server only sends 128bytes at a time
by alager (Acolyte) on Dec 17, 2009 at 22:38 UTC | |
by zwon (Abbot) on Dec 17, 2009 at 23:11 UTC | |
by zwon (Abbot) on Dec 17, 2009 at 23:36 UTC | |
|
Re^4: Net::Server only sends 128bytes at a time
by alager (Acolyte) on Dec 18, 2009 at 16:42 UTC | |
by ikegami (Patriarch) on Dec 18, 2009 at 18:27 UTC | |
by zwon (Abbot) on Dec 18, 2009 at 19:02 UTC | |
by alager (Acolyte) on Dec 22, 2009 at 21:17 UTC |