Hi all,
My next target was peer.js. I've written a wrapper for Amber. peer.js is a library for P2P communication. It is easy to use. Since it is based on WebRTC, NAT/firewall traversal is supported. By using PeerFromAmber, you can write such code: peer := PePeer options: #{'key'-> 'apikey'. 'debug'-> true}. conn connect: 'peerId'. peer onOpen: [:id | conn send: 'Hello!']. peer onData: [:data | console log: 'Received:', data]. For details, please see PeExampleChat. It is a simple text chat example. Combined with EnchantFromAmber, we can probably develop a network game. Enjoy!
-- You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/groups/opt_out. |
excellent!!
Nico On May 23, 2013, at 5:06 PM, Masashi Umezawa <[hidden email]> wrote: Hi all, -- Nicolas Petton http://www.nicolas-petton.fr You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/groups/opt_out. |
In reply to this post by Masashi Umezawa-4
good stuff !
On May 23, 2013, at 12:06 PM, Masashi Umezawa <[hidden email]> wrote: Hi all, You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/groups/opt_out. |
Free forum by Nabble | Edit this page |