Hi again!,<br>First of all, thank you very much Bert. Your answer showed me the path. I could see how senders and listeners work but i found another possible solution: when I was looking for information about it, I found answers that mentioned the NebraskaServerMorph and the NetworkTerminalServer.. I think this is more appropiate for my solution; I can serve my world and other terminals can connect to it and work in it as if they were the owners of that world i&#39;m sharing. <br>
Now i&#39;m still working on it because i can only serve the &quot;main&quot; world.. I created subworlds doing<br><br>|myworld|<br>myworld _ (PasteUpMorph newWorldForProject:nil).<br>myworld color: Color blue.<br>myworld openInWorld.<br>
myworld viewBox: (19@19 extent: 300@300).<br><br>and I tried to serve it doing:<br><br>NebraskaServerMorph serveWorld: myworld.<br><br>it seems to work but when i want to connect to it from another pc, creating a NetworkTerminalMorph and opening it in scaled mode, i can&#39;t see anything! I repeat, It doesn&#39;t happens with the main world..<br>
Maybe I have to set another property to the created subworld that allows it to be shared, i don&#39;t know! I don&#39;t want to share the main world because the clients could access to all the visible options and do modifications (maybe unwanted modifications) in that image. <br>
It&#39;s a special case but maybe someone worked on something like that and can help me.. <br>Thank you!<br><br><br><br><br><br><div class="gmail_quote">2009/5/22 Bert Freudenberg <span dir="ltr">&lt;<a href="mailto:bert@freudenbergs.de">bert@freudenbergs.de</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;"><div style=""><div><div></div><div class="h5"><br><div><div>On 21.05.2009, at 20:01, Mauro Esposito wrote:</div>
<br><blockquote type="cite">Hi,<br>my query is: I want to connect two (or more) laptops to interact each other. I don&#39;t know if it is possible, but I found an option called &quot;Telemorphic&quot; and I think that it could be useful for my idea. The problem is that I can&#39;t find out the way it works. I want to share the same &quot;world&quot; to develope i.e. multiplayer games or some like that..<br>
 I tried to connect one laptop to the other (I have a LAN) using the network IP (192.168.0.100 or 192.168.0.101) but I got an error.<br><br>The Transcript showed:<br><br>My address is 192.168.0.100<br>Remote hand theOtherPc waiting for a connection...<br>
 Connecting to remote WorldMorph at <br><br>and the exeption is raised in the method<br><br>primGetNameInfo: socketAddress flags: flags<br><br>    &lt;primitive: &#39;primitiveResolverGetNameInfo&#39; module: &#39;SocketPlugin&#39;&gt;<br>
     flags == 0 ifTrue: [^self primGetNameInfo: socketAddress<br>                        flags: SocketAddressInformation numericFlag].<br>    self primitiveFailed                                                   &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; HERE<br>
 <br>Anyway, on the top right corner appears a cursor and the name I put on the Telemorphic dialog (theOtherPc) in blue color. But I can&#39;t understand how it works! I think the connection is not really established...<br>
 I hope u can understand me, I&#39;m from Argentina so I don&#39;t speak english very well..<br>Thank you.<br></blockquote><br></div></div></div><div>I&#39;m afraid the telemorphic code isn&#39;t maintained anymore, so it is not unlikely it&#39;s broken. Also, it might not be suitable for games (can anybody comment on what telemorphic is supposed to do?) </div>
<div><br></div><div>When running in Sugar, Etoys does support network communication (in other environments it&#39;s too cumbersome to type IP addresses etc. so we are not exposing it). It uses EToySenderMorph (a.k.a. &quot;badge&quot;) for sending and EToyListenerMorph for receiving. Both use EToyPeerToPeer for networking. Consult EToyIncomingMessage to see what once was supported, not all of that is functional anymore. We basically only use it to copy Etoys objects between machines. It is not wired up to make multiplayer games yet. But new message types and handlers can be registered. Would be a great addition to Etoys to support making networked games :)</div>
<div><br></div><div>If you are not running in Sugar you should be able to make badges and listeners by hand (typing in ip addresses), in the LAN this should work. </div><br><font color="#888888"><div> <span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Lucida Grande; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="">
<div style="font-family: Helvetica;"><span style="font-family: Helvetica;">- Bert -</span></div><br></div></span> </div><br></font></div><br>_______________________________________________<br>
Etoys mailing list<br>
<a href="mailto:Etoys@lists.laptop.org">Etoys@lists.laptop.org</a><br>
<a href="http://lists.laptop.org/listinfo/etoys" target="_blank">http://lists.laptop.org/listinfo/etoys</a><br>
<br></blockquote></div><br>