Re: [Flashcoders] Two computers talking using AS3 Socket on same network

2010-05-13 Thread Eric E. Dolecki
ServerSocket is sweet - I just whipped up a nice AIR 2 socket server app and then have a regular socket app talking back and forth with it. Rockin'! Eric On Wed, May 12, 2010 at 11:07 PM, Eric E. Dolecki edole...@gmail.comwrote: Has anyone tried this ServerSocket yet? On Wed, May 12, 2010

[Flashcoders] Two computers talking using AS3 Socket on same network

2010-05-12 Thread Eric E. Dolecki
I would like to have two computers running two different SWFs talk to one another over a LAN (say both plugged into the same router). Is it as simple as this? Computer A --- SWF makes a socket, uses B's IP address and an open port - reads and writes from this socket Computer B

Re: [Flashcoders] Two computers talking using AS3 Socket on same network

2010-05-12 Thread Henrik Andersson
Eric E. Dolecki wrote: I would like to have two computers running two different SWFs talk to one another over a LAN (say both plugged into the same router). Is it as simple as this? For connectionless protocols, yes. Btw, you need AIR for this. ___

Re: [Flashcoders] Two computers talking using AS3 Socket on same network

2010-05-12 Thread Eric E. Dolecki
AIR because of the application security sandbox? Would standalone projectors work as well? On Wed, May 12, 2010 at 3:25 PM, Henrik Andersson he...@henke37.cjb.netwrote: Eric E. Dolecki wrote: I would like to have two computers running two different SWFs talk to one another over a LAN (say

Re: [Flashcoders] Two computers talking using AS3 Socket on same network

2010-05-12 Thread Eric E. Dolecki
I have my socket class written which dispatches custom events two main SWFs with their own document class implemented. Is it possible to spoof another machine on a single Mac to get around setting up another box and using a flash drive to push files around for testing? Eric On Wed, May 12,

Re: [Flashcoders] Two computers talking using AS3 Socket on same network

2010-05-12 Thread Dave Watts
Is it possible to spoof another machine on a single Mac to get around setting up another box and using a flash drive to push files around for testing? Sure, I don't see why not, as long as you use different ports. In the worst case, you could definitely do it using a virtualized environment on

Re: [Flashcoders] Two computers talking using AS3 Socket on same network

2010-05-12 Thread Henrik Andersson
Eric E. Dolecki wrote: AIR because of the application security sandbox? Would standalone projectors work as well? They would not, as they lack the needed API. Have a look at the recent additions in the flash.net package, all the useful socket features are AIR exclusive.

Re: [Flashcoders] Two computers talking using AS3 Socket on same network

2010-05-12 Thread Eric E. Dolecki
Huh? http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/net/Socket.html all I need is readUTFBytes and writeUTFBytes... On Wed, May 12, 2010 at 6:31 PM, Henrik Andersson he...@henke37.cjb.netwrote: Eric E. Dolecki wrote: AIR because of the application security sandbox?

Re: [Flashcoders] Two computers talking using AS3 Socket on same network

2010-05-12 Thread Henrik Andersson
Eric E. Dolecki wrote: Huh? http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/net/Socket.html all I need is readUTFBytes and writeUTFBytes... You need more than that. Think about this carefully. You need to connect to an open port. But you also need a way to open said

Re: [Flashcoders] Two computers talking using AS3 Socket on same network

2010-05-12 Thread Juan Pablo Califano
With non-Air players, you can use a Socket to connect to a server. But you can't create a server itself; i.e. you can't write code to bind to a given port and listen for connections. So, in that scenario you cannot connect both swfs directly (you have to use a socket server). Appartently with Air

Re: [Flashcoders] Two computers talking using AS3 Socket on same network

2010-05-12 Thread eric dolecki GMail
Ah okay, that's good stuff to know. I was very wrong, my apologies. Easy enough to deploy as AIR, I'll have a look at that link and re-write some code. Not having to use a socket server will be super nice. Sent from my iPad On May 12, 2010, at 7:46 PM, Juan Pablo Califano

Re: [Flashcoders] Two computers talking using AS3 Socket on same network

2010-05-12 Thread Eric E. Dolecki
Has anyone tried this ServerSocket yet? On Wed, May 12, 2010 at 8:28 PM, eric dolecki GMail edole...@gmail.comwrote: Ah okay, that's good stuff to know. I was very wrong, my apologies. Easy enough to deploy as AIR, I'll have a look at that link and re-write some code. Not having to use a