unsigned max, unsigned * val);
int ParseYesNo(const std::string & str, bool * val);
+bool WaitPackets(int sd);
+
//-----------------------------------------------------------------------------
template <typename varT>
int str2x(const std::string & str, varT & x)