TReKiE / msnp-sharp

Automatically exported from code.google.com/p/msnp-sharp
0 stars 0 forks source link

ChangingTooRapdly error #58

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
  connect, and signed in.
2.
  foreach (Contact c in Messenger.Nameserver.ContactList.All)
            {
                if (c.Online)
                {
                   ...SendTextMessage("dddddddd");
                }
            }

3.  there are many ChangingTooRapdly errors in my log file.

    the count of error equals the times of sendtext.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by pengs...@gmail.com on 8 Jan 2009 at 7:40

GoogleCodeExporter commented 9 years ago
the version is latest version.

Original comment by pengs...@gmail.com on 8 Jan 2009 at 7:43

GoogleCodeExporter commented 9 years ago
but there isn't this error while I do a singe sendtext(...).
if (c.Online && c.Mail=="xxxx@live.cn"){ ...sendtext(...); }

and after I made the thread sleep, there were still errors.

foreach (Contact c in Messenger.Nameserver.ContactList.All)
{
   Thread.Sleep(2000);
   if (c.Online)
   {
       ...SendTextMessage("dddddddd");
   }
}

Original comment by pengs...@gmail.com on 8 Jan 2009 at 7:48

GoogleCodeExporter commented 9 years ago
You just can't send text so fast because there is limitation on MSN servers.

Original comment by freezing...@gmail.com on 8 Jan 2009 at 1:54

GoogleCodeExporter commented 9 years ago

Original comment by hepha...@gmail.com on 23 Jan 2009 at 5:35