Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Intercepting UDP broadcastsby coreolyn (Parson) |
on Jan 30, 2004 at 17:16 UTC ( [id://325310]=note: print w/replies, xml ) | Need Help?? |
Well that leaves your $socket->recv as the culprit. I'm suspecting your are not getting 1024 bytes due to fragmentation of the packet. This info (Section 5.8) may be of assistance ( long story short a minimum datagram could be as small as 28 bytes ( IP + UDP header )) due to fragmentation.
In Section
Seekers of Perl Wisdom
|
|