bool RecvLineIRC(SOCKET hSocket, string& strLine)
{
- loop
+ while (true)
{
bool fRet = RecvLine(hSocket, strLine);
if (fRet)
int RecvUntil(SOCKET hSocket, const char* psz1, const char* psz2=NULL, const char* psz3=NULL, const char* psz4=NULL)
{
- loop
+ while (true)
{
string strLine;
strLine.reserve(10000);
bool RecvCodeLine(SOCKET hSocket, const char* psz1, string& strRet)
{
strRet.clear();
- loop
+ while (true)
{
string strLine;
if (!RecvLineIRC(hSocket, strLine))
}
if (fTestNet) {
- Send(hSocket, "JOIN #novacoinTEST\r");
- Send(hSocket, "WHO #novacoinTEST\r");
+ Send(hSocket, "JOIN #novacoinTEST2\r");
+ Send(hSocket, "WHO #novacoinTEST2\r");
} else {
// randomly join #novacoin00-#novacoin05
// int channel_number = GetRandInt(5);