kythyria / msnp-sharp

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

Send group messages is slow #158

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Though not necessarily a bug otherwise, I have found when sending messages 
to the group slow when I try to send messages rapidly (flooding) or after 
the first message (sometimes).

Sometime after a minute or so such (this occurs occasionally however), the 
message is sent after I sent a message(flooding messages however, most of 
the time triggers the delay). This however occurs sometimes, but most of 
the time messages get sent after a few seconds to the group (with decent 
intervals). When I log off however, eventually I am still online and after 
a few seconds sends these messages; the user becomes offline after I send 
the message, and eventually turns offline.

Currently I am using the MSNP-Sharp 3.0 Branch, with the Windows XP 
Operating System. Thanks for listening.

Original issue reported on code.google.com by electk...@gmail.com on 27 Oct 2009 at 9:47

GoogleCodeExporter commented 9 years ago
"When I log off however, eventually I am still online and after 
a few seconds sends these messages; the user becomes offline after I send 
the message, and eventually turns offline."

This happens sometimes however, but I'm guessing not all the time.

Original comment by electk...@gmail.com on 27 Oct 2009 at 10:01

GoogleCodeExporter commented 9 years ago
This is cause by the server protection policy on server side, please don't 
flood 
messages.

Original comment by freezing...@gmail.com on 28 Oct 2009 at 1:46

GoogleCodeExporter commented 9 years ago
Okay, thanks for replying. I wonder if there is a delay specification that 
messages 
need to be sent however? Thanks.

Original comment by electk...@gmail.com on 28 Oct 2009 at 5:12

GoogleCodeExporter commented 9 years ago
Hmmm, there must be some, but we don't know. You know, M$ do not give us any 
document about their service, we have to guess.

Original comment by freezing...@gmail.com on 28 Oct 2009 at 8:25

GoogleCodeExporter commented 9 years ago
Okay, I see. Thanks anyway, I might try to take on some testing soon enough. 
Now I'm 
just quickly finding ways to find links for Group Websites, Skydrive etc...

If you want, I can show it to you. I'm getting a quick hint of things.

Original comment by electk...@gmail.com on 28 Oct 2009 at 9:16

GoogleCodeExporter commented 9 years ago
Think I may have something for getting Group links; here is the sample of 
getting the 
web CID as such, where variable _circle is Circle:

           private string GetCID_Web()
           {
               String returnvalue;
                              String removestr = "@live.com:CircleMember";
               String removestr2 = "00000000-0000-0000-";

               returnvalue = _circle.Hash.Remove(_circle.Hash.Length - 
removestr.Length, removestr.Length).Remove(0, removestr2.Length).Replace("-", 
string.Empty);

           return returnvalue;
           }

Then to load a group website as such, it can be simply be typed as:
"http://cid-" + GetCID_Web() + ".groups.live.com/"

The GetCID_Web first gets the CID of the group which can be usuable in the web, 
which 
can be combined to load a group website; tested, works.

Original comment by electk...@gmail.com on 28 Oct 2009 at 10:21

GoogleCodeExporter commented 9 years ago
There's already a CID attribute in Circle class.

Original comment by freezing...@gmail.com on 28 Oct 2009 at 11:52

GoogleCodeExporter commented 9 years ago
Yes I know, but however when I try it, it will eventually say there is no page 
for it. 
Just wanted to let you know; thanks.

Original comment by electk...@gmail.com on 28 Oct 2009 at 8:32

GoogleCodeExporter commented 9 years ago
Oh yes, you're right. For circles, you should get it from the mail.

Original comment by freezing...@gmail.com on 29 Oct 2009 at 5:09

GoogleCodeExporter commented 9 years ago
Okay, and I don't mean to be rude but:
"For circles, you should get it from the mail."
What did you mean by that? Sorry if I'm being a bit interrupting; your doing a 
good job 
anyway :) .

Original comment by electk...@gmail.com on 29 Oct 2009 at 5:17

GoogleCodeExporter commented 9 years ago
E...I am sorry for interrupting you because I am not a native speaker, maybe 
some 
words are not used properly.
I mean, people need to get the correct "cid" from the circle's mail(That is 
xxx-xxx-
xx@live.com, just as what you've done.).

Original comment by freezing...@gmail.com on 29 Oct 2009 at 9:29

GoogleCodeExporter commented 9 years ago
Okay thanks; I got everything working now. Sorry for the pressure, I can't find 
much 
bugs now. I'll leave it up to you (I might look into it if I have time) and 
good luck.

Original comment by electk...@gmail.com on 29 Oct 2009 at 10:20

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
i just want to write a robot,but i don't know how to send and receive group 
message

Original comment by only.lon...@gmail.com on 21 Jul 2010 at 2:37

GoogleCodeExporter commented 9 years ago
First, you need a circle. Then you can send a message from there. You can get 
this when a circle message has been sent (this is global to the owner's 
account). Look at the example client code if you must.

Original comment by electk...@gmail.com on 29 Jul 2010 at 10:04