cmv has asked for the wisdom of the Perl Monks concerning the following question:
Currently a maximum of 1500 will be read, and datagrams which are larger will be truncated.
Checking the source confirms this:
Is there a good reason for this limit, or is it just the preference of the author? Would it be reasonable to change this to 65535? Something else? User settable? What would be the best solution to recommend to the author?while( my $addr = recv( $socket, my $input = "", 1500, MSG_DONTWAIT ) +) {
Thanks
-Craig
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: 1500 Byte UDP Limit in POE::Wheel::UDP?
by Fletch (Bishop) on Jul 28, 2008 at 19:04 UTC | |
|
Re: 1500 Byte UDP Limit in POE::Wheel::UDP?
by Perlbotics (Archbishop) on Jul 28, 2008 at 18:56 UTC | |
|
Re: 1500 Byte UDP Limit in POE::Wheel::UDP?
by rcaputo (Chaplain) on Jul 28, 2008 at 19:04 UTC | |
|
Re: 1500 Byte UDP Limit in POE::Wheel::UDP?
by Anonymous Monk on Jul 28, 2008 at 20:43 UTC | |
|
Re: 1500 Byte UDP Limit in POE::Wheel::UDP?
by Bloodnok (Vicar) on Jul 29, 2008 at 14:57 UTC |