On 2012.05.12 12:55, Peter Stuge wrote: > I was hoping that you would also comment on my API suggestion which > completely avoids this problem. Maybe someone else will.
I don't see how returning numbers represented as a string instead of actual numbers is that helpful. This translates the actual data while the less data is translated, the more convenient it is to use. By going with a string, you're assuming that the only possible usage down the line is string representation of port numbers. IMO, the better approach when trying to provide something that is as generic as possible is to avoid assuming its downstream usage. Regards, /Pete ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ libusbx-devel mailing list libusbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libusbx-devel