Send positions through Socket

Mark Talluto userev at canelasoftware.com
Thu Apr 22 17:13:07 EDT 2010


Hi Shani,

You could send any kind of data you like through sockets (text as well as binary).  You just need to know what to do with it on the other end.  So you might send the data in a form like:  <rect>81,90,534,123</rect>
On the receiving end you would parse that message out and set the rect of the object there.


Best regards,

Mark Talluto
http://www.canelasoftware.com





On Apr 22, 2010, at 10:06 AM, Shani wrote:

> HI, 
> 
> 
> 
> Can i send the position of an object 
> 
> X axis and y axis through Socket to other Program.
> 
> Like we send a string in this way 
> 
> 
> 
> write field "Outputs" to socket "127.0.0.0:21"
> 
> 
> 
> 
> 
> Regards,
> 
> SHANI
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the Use-livecode mailing list