first commit, change some members name from localaddr to currentlocaladdr, and add ip lists in the classes. Not used yet to connect or exchange

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1804 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
joss17 2009-11-11 16:43:51 +00:00
parent a444484734
commit 00361c22a5
12 changed files with 156 additions and 115 deletions

View file

@ -179,7 +179,7 @@ int pqipersongrp::init_listener()
mConnMgr->getOwnNetStatus(state);
RsStackMutex stack(coreMtx); /**************** LOCKED MUTEX ****************/
pqil = createListener(state.localaddr);
pqil = createListener(state.currentlocaladdr);
}
return 1;
}
@ -207,7 +207,7 @@ int pqipersongrp::restart_listener()
RsStackMutex stack(coreMtx); /**************** LOCKED MUTEX ****************/
pqil -> resetlisten();
pqil -> setListenAddr(state.localaddr);
pqil -> setListenAddr(state.currentlocaladdr);
pqil -> setuplisten();
std::cerr << "pqipersongrp::restart_listener() done!" << std::endl;