I agree Simon, introducing a count is a simple solution. Just thinking aloud here, even if the count info is lost, does not matter... if a 'message send' is executed only if a count info is received, that would cover all bases <div class="gmail_extra">

<br><br><div class="gmail_quote">On Mon, Nov 12, 2012 at 9:19 AM, Slavin, Simon <span dir="ltr"><<a href="mailto:s.slavin@lancaster.ac.uk" target="_blank">s.slavin@lancaster.ac.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im"><br>
On 12 Nov 2012, at 1:57pm, Dr Ramesh Ramloll wrote:<br>
<br>
> I was wondering if I could get some ideas from the technical wonks out there. Here's my problem (not the real one..but I simplified it a bit to keep things brief). Everything implemented in LSL of course. I have two objects A and B, A sends messages to B.  I found that there are no guarantees that B will ALWAYS receive a message sent by A. I would expect the messages to be queued up, but seems that there is a black hole somewhere. Anyway, so, I then need to think about 'Acknowledgement system' that would cause A to resend if B does not receive it (within a set waiting period...). So this means that I need to put A in a sending loop until B sends an acknowledgment back to A.<br>


> OR.. I could just send messages from A to B, twice every time... just to reduce changes of a message not received. Should I go for the easy way ... or is there really a bigger advantage for trying to implement guarantees in.  Your thoughts?<br>


<br>
</div>B keeps a count of how many messages it has received.  It provides a way of asking for its current count.<br>
<br>
A asks B for its count.  A sends its message and waits a second.  A asks B for its count again.  If the two counts match, the message was not received.<br>
<br>
Simon.<br>
_______________________________________________<br>
Opensim-users mailing list<br>
<a href="mailto:Opensim-users@lists.berlios.de">Opensim-users@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-users" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-users</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><font color="#999999">'Consider how the lilies grow. They do not labor or spin.'</font><br><b>Rameshsharma Ramloll</b> PhD, CEO CTO DeepSemaphore LLC, Affiliate <i>Research Associate Professor</i>, Idaho State University, Pocatello, ID 83209 Tel: 208-240-0040<br>

<div><a href="http://deepsemaphore.posterous.com/" target="_blank">Blog</a>, <a href="http://www.linkedin.com/in/rameshramloll" target="_blank">LinkedIn</a>, <a href="http://www.deepsemaphore.com" target="_blank">DeepSemaphore LLC</a>, <a href="https://plus.google.com/103652369558830540272/about" target="_blank">Google+ profile</a></div>

<br>
</div>