when I reduce the amount of data it does not lose packages. so, that is solved. <br><br>How would the netMorph integrate in the UDP approach?<br>I am a bit overwhelmed by the many possibilities. and its difficult as a beginner to see through the forest. <br>
I go for the UDP approach at the moment and hope that I will get somewhere :)<br><br><br><div class="gmail_quote">2009/6/6 Derek O&#39;Connell <span dir="ltr">&lt;<a href="mailto:doconnel@gmail.com">doconnel@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">This is the wiki link for &quot;Scratch Connections&quot;<br>
<div><div></div><div class="h5"><br>
Martin Bleichner wrote:<br>
&gt; Hi Derek,<br>
&gt;<br>
&gt; I have to confess I just want the application. I assembled a small program<br>
&gt; with squeak and was happy that I could do everything I wanted within<br>
&gt; minutes.<br>
&gt; (Drag and drop of morphs and some scripting).<br>
&gt;<br>
&gt; Then I wanted to do that as a collaborative game and hoped that that would<br>
&gt; also be possible quite quickly. However, it turned out to be more difficult.<br>
&gt; So now I am stucked with network programing.<br>
&gt; I am simply interested in the result. However, if there is no other way I am<br>
&gt; also willing to learn how to get there.<br>
&gt;<br>
&gt; Martin<br>
&gt;<br>
&gt;<br>
&gt; 2009/6/6 Derek O&#39;Connell &lt;<a href="mailto:doconnel@gmail.com">doconnel@gmail.com</a>&gt;<br>
&gt;<br>
&gt;&gt; Hi Martin,<br>
&gt;&gt;<br>
&gt;&gt; is this an exercise to learn Smalltalk or do you just want the 4-way<br>
&gt;&gt; control application?<br>
&gt;&gt;<br>
&gt;&gt; Martin Bleichner wrote:<br>
&gt;&gt;&gt; Hello again,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I am making some slow progress. Well, I managed to run an example :)<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I run on one image the OldSocket example remoteTestServerUDP and on a<br>
&gt;&gt; second<br>
&gt;&gt;&gt; the remoteTestClientUDP. I hope that is the right direction so far.<br>
&gt;&gt;&gt; my transcript tells me that server and client endpoints are created, and<br>
&gt;&gt;&gt; some packets are sent.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I get the following message:<br>
&gt;&gt;&gt; 4000 bytes/packet, 117packets/sec, 2370 packets dropped.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; he shouldn&#39;t drop packages, shouldn&#39;t he?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Further, the image running the server is not responsive any more (does<br>
&gt;&gt; not<br>
&gt;&gt;&gt; react to anything). Is that how it is supposed to work?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Thanks for your help.<br>
&gt;&gt;&gt; Martin<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; 2009/6/6 Markus Gaelli &lt;<a href="mailto:gaelli@emergent.de">gaelli@emergent.de</a>&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Am 05.06.2009 um 21:26 schrieb Martin Bleichner:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Hi Markus,<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; when I try out the example i get.<br>
&gt;&gt;&gt;&gt;&gt; MessageNotUnderstood: MIMEDocument &gt;&gt;upToEnd<br>
&gt;&gt;&gt;&gt;&gt; the example should run through, shouldn&#39;t it?<br>
&gt;&gt;&gt;&gt;&gt; Martin<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; right, also examples should be tested first... ;-)<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Ok, with the following (replace upToEnd with contents and omit the<br>
&gt;&gt; closing<br>
&gt;&gt;&gt;&gt; of the (non)stream:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;   examplePostArgs<br>
&gt;&gt;&gt;&gt;        | args result resultStream |<br>
&gt;&gt;&gt;&gt;        args := Dictionary new.<br>
&gt;&gt;&gt;&gt;        args at: &#39;arg1&#39; put: #(&#39;val1&#39; );<br>
&gt;&gt;&gt;&gt;                 at: &#39;arg2&#39; put: #(&#39;val2&#39; );<br>
&gt;&gt;&gt;&gt;                 yourself.<br>
&gt;&gt;&gt;&gt;        resultStream := HTTPClient httpPostDocument: &#39;<br>
&gt;&gt;&gt;&gt; <a href="http://www.squeaklet.com/cgi-bin/thrd.pl" target="_blank">http://www.squeaklet.com/cgi-bin/thrd.pl</a>&#39; args: args.<br>
&gt;&gt;&gt;&gt;        result := resultStream contents.<br>
&gt;&gt;&gt;&gt;        Transcript show: result;<br>
&gt;&gt;&gt;&gt;                 cr;<br>
&gt;&gt;&gt;&gt;                 cr<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; it kind of works. Modulo that <a href="http://squeaklet.com" target="_blank">squeaklet.com</a> is not there anymore so you<br>
&gt;&gt;&gt;&gt; don&#39;t get any specific answers.<br>
&gt;&gt;&gt;&gt; If I were you I&#39;d probably go for the udp solution mentioned by others.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; It would be great though to have some kind of Etoyish solution for your<br>
&gt;&gt;&gt;&gt; problem (think lightweight open croquet for etoys) with udp or osc or<br>
&gt;&gt;&gt;&gt; anything under the hood) so this is a very interesting question!<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Cheers<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Markus<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt; Beginners mailing list<br>
&gt;&gt;&gt;&gt; <a href="mailto:Beginners@lists.squeakfoundation.org">Beginners@lists.squeakfoundation.org</a><br>
&gt;&gt;&gt;&gt; <a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; ------------------------------------------------------------------------<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; Beginners mailing list<br>
&gt;&gt;&gt; <a href="mailto:Beginners@lists.squeakfoundation.org">Beginners@lists.squeakfoundation.org</a><br>
&gt;&gt;&gt; <a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Beginners mailing list<br>
&gt;&gt; <a href="mailto:Beginners@lists.squeakfoundation.org">Beginners@lists.squeakfoundation.org</a><br>
&gt;&gt; <a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
</div></div>&gt; ------------------------------------------------------------------------<br>
<div><div></div><div class="h5">&gt;<br>
&gt; _______________________________________________<br>
&gt; Beginners mailing list<br>
&gt; <a href="mailto:Beginners@lists.squeakfoundation.org">Beginners@lists.squeakfoundation.org</a><br>
&gt; <a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br>
_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@lists.squeakfoundation.org">Beginners@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br>
</div></div></blockquote></div><br>