2011/2/15 Adam Ruppe <[email protected]>: > One problem with "at least" is it might have to wait for two > packets to come off the network interface; could be fairly slow. > > The "at most" means it will take whatever is available without > overflowing your buffer - it will never wait if there is any > data available. >
But isn't the reason you're supplying a value to appendToFront that you do want a specific amount? If not, you can use appendToFront(0) until you get what you want. Torarin
