> Yes, a "no limit" default would be good. Sniffer lets you choose only > pre-defined capture lengths (64, 128, 256, 512 bytes etc.). A radio > button group with the last radio button containing a spin box might work: > > o Full packet > o 64 bytes > o 128 bytes > o 256 bytes > o 512 bytes > o 1024 bytes > o Variable [ ### ] ^v (this is the spin box) That has a fair number of GUI widgets; Microsoft's Network Monitor does it with a combo box where the drop-down list has "Full" at the top, followed by a set of values (it looks like all the multiples of 64, up to 65472), but it lets you type any value between 1 and 65535 in there. That's perhaps a bit less cluttered. (If you type in a bigger value, zero, a negative number, or a non-integer value other than "Full", it puts up a message box telling you that it has to be a number between 1 and 65535; alas, I'm not sure GTK+ 1.0 does a good job of popping up modal dialog boxes, so that they come out on top and get the input focus automatically to let you dismiss them with <Enter>/<Return> and type a better value in.)
Powered by MHonArc 2.6.10