maintain db of peers

This commit is contained in:
jed
2012-06-13 08:20:08 -07:00
parent 253df289c3
commit f7b5753be1
9 changed files with 167 additions and 10 deletions

View File

@@ -28,6 +28,11 @@ boost::posix_time::ptime ptEpoch();
int iToSeconds(boost::posix_time::ptime ptWhen);
boost::posix_time::ptime ptFromSeconds(int iSeconds);
/*
void intIPtoStr(int ip,std::string& retStr);
int strIPtoInt(std::string& ipStr);
*/
template<class Iterator>
std::string strJoin(Iterator first, Iterator last, std::string strSeperator)
{