Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Re: Re: Re: Re: Re: Network Duplex speed test

by Anonymous Monk
on Oct 03, 2003 at 16:14 UTC ( [id://296309] : note . print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Re: Re: Network Duplex speed test
in thread Network Duplex speed test

That's interesting. I couldn't get it to work at all at the lower size. Sorry, more specifically: I get "Unknown error at pingsniff.pl at line 132" (the recv call, for each call). When I upped the SIZE it started working. (didn't capitalize for emphasis, the constant is caps.) Hmm. Some kind of problem where the incoming packet is bigger than the maximum size anticipated. "Unknown error" is frustrating; doesn't tell enough about what happened. Well, thanks yet again for your help.
  • Comment on Re: Re: Re: Re: Re: Re: Network Duplex speed test

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Re: Re: Network Duplex speed test
by Anonymous Monk on Oct 11, 2003 at 18:19 UTC
    In case anyone's interested, I modified the code to increase the size until those Unknown Errors go away. It works at 10268. I suspect this is something to do with recv() function itself wanting to reassemble the original 10240 bytes of data, as opposed to simply receiving a 1500-byte packet.