Communicating between Air apps on local network?

I am trying to build an AIR application that allows communication on a local network only.  Can I use the Local Connection to achieve this or is that only to communicate between apps on a single machine.  The functionality I am trying to achieve is simple check in/out app to let users know when someone is already working in a folder.   I already have the functionality built for this, I just need to be able to broadcast events to another AIR app on a local network.  Can anyone help or shot this down?  Thanks in advance.

You are right: you can only use LocalConnection for communication between AIR applications (and SWF content in browsers) on a single machine.
You may want to build a server application that the other AIR applications communicate with via a socket connection.

Similar Messages

  • Encrypting communication between an app that uses an ODBC/DSN (with ADODB) and SQL Server 2008 R2

    I've been doing a lot of reading the last couple of days on how we can encrypt db communication between our product app and a customer's SQL Server db, but cannot make it work as expected. The app uses a ODBC/DSN to connect to the SQL Server db. I use this
    ODBC app to setup the DSN (on a Windows 7 PC):
    C:\Windows\SysWOW64\odbcad32.exe
    The  DSNconnection uses the SQL Server driver 6.01.7601.17514 and has these properties:
    - WinNT authentication.
    - Client Config button: TCP/IP to <server-name>\<instance.-name>
    - Change to default db: <name-of-app-db>
    - Everything else is default setting.
    SQL Server is on the same Windowns 7 PC and has a self-signed cert installed (used IIS to generate it) and has the Force Enryption set to "yes".
    I have a test C# program that uses the ADODB 2.7.0.0 COM-wrapper, made by Visual Studio after adding a reference to the ADO 2.7 library version 6.1.7601.17857. The program creates an ADODB.Connection object that has a simple connection string: "DSN=<san-name>;UID=<user>;PWD=<password>". The
    program then creates an ADODB.Recordset object and reads and displays a field from a table.
    Works fine.
    If I go into SQL Server and set Force Encryption to "no," clear the cert, restart the SQL service, and then re-run the program, it works fine.
    Here's the kick. If I go into the DSN and select "Use strong encryption for data" the Test button on the DSN works—why does it work? The SQL Server is no longer encrypting the connection so an error should occur. If I run the test program, it works
    as well—why? I can look at the connection properties in the test program and see that ADODB has added the ";Encrypt-yes" stuff to the end of the connection string. Yet that option seems to have no effect.
    If I set the SQL instance back to Force Encryption:yes, enable the cert, restart the SQL service, and clear the DSN's "Use strong encryption for data" option, I can still connect to the db with the
    test program—why?
    What am I doing wrong? I need to be able to ensure that the communication between our app product and the SQL instance is encrypted, and that we get an error if the SQL instance does not support encrypted communications. We really don't want the customer
    to have to enable Force Encryption because they have other db's on their SQL Server that do not use encrypted communication, but they want to know that our product's communication channel with the db is encrypted.
    No, I can't change the app product's code at this point in time. I'm stuck with working with what a DSN called from ADODB has to offer.
    Also, how can I be sure that communications are encrypted? I mean, I've tried things like "SELECT * FROM sys.dm_exec_connections" but that doesn't help because I have no idea how to tie the list of sessions shown back to my test program, although
    I guess it's a good thing that some of the sessions listed show encrypt_option as TRUE.
    -glenn-

    Ah yes, very good point. It's easy to miss because you have to delete then recreate the DSN in order to change drivers. So I switched the DSN over to the SQL Native 11 driver.
    Now when I try to connect to the SQL instance as <computer-name>\<instance-name>, and without a cert on the server, I get "the target principal name is incorrect". Perfect; now we're getting somewhere!
    Change my DSN to use <fqdn>\<instance-name> and it works. This tells me that SQL Server has auto-generated a cert and named it <fqdn>. I would have expected the "cert fail" error, not a cert
    name mismatch, because I'm not using Trust Server Cert.
    So I load up my self-signed cert, and that works too.
    I am still confused as to why I'm not seeing the "cert fail" error when I have no cert loaded on the SQL Server. I am not using Force Encryption on the server at all, so wouldn't expect SQL Server to auto-create a cert when an Encrypt=yes request comes in,
    but apparently it does?
    I also ran into a problem with this:
    select c.session_id, c.encrypt_option, s.client_interface_name
    from sys.dm_exec_connections c
    join sys.sysprocesses s
      on c.session_id = s.session_id
    where s.dbid = db_id('MyDatabase')
    There is no s.client_interface_name, probably should be s.hostname. There's also no s.session_id. I thought maybe this should be s.sid, but then no rows ever come back. The c.session_id looks like 51 and 52, but the s.sid looks like a very long binary number,
    so these two fields cannot be joined. I don't know how to convert the sid's properly so that the join would work. Ah wait, I just found the s.spid column; the join works when that column is used (I assume that's correct anyhow).
    If I add a Thread.Sleep(30 seconds) to my C# program just before the connection is closed, this query shows me the session for the correct hostname has encrypt_option=TRUE.
    And I have to keep my fingers crossed that all the app I/O will still work properly after
    changing the driver. Probably a safe bet though.
    Think I'm ready to throw in the towel on getting the "cert fail/no SSL" error to appear.
    It does look like I am able to sufficiently show that the connection is encrypted when Encrypt=yes is used with the newer driver.
    Thank for all the help!
    -glenn-

  • Air app-storage swf network access

    I have an swf file that is saved in the app-storage
    directory, and it’s compiled with “allow network
    access”, and it reads an xml file from a webserver.
    When I load this file into an swfloader in my air app, it
    throws up the “this file is trying to connect”
    notification box.
    Even if I add the path in the security settings, it refuses
    to work.
    Is there any way to let it communicate and read the xml file?

    It should be the application directory, not the storage directory.

  • Message application between Macs on internal local network

    I’m looking for an application that will allow interchange of short messages (copy/pasteable) between Macs on my home network via Ethernet/router/Airport. At the moment, I use email.

    You can use iChat via Bonjour on your local network to communicate in much the same fashion as you'd use it via internet based services. I even found a nice short video demonstrating the ease of setup:
    http://video.google.com/videoplay?docid=-988717806037213326#

  • Drag/Drop playlists between shared PCs via local network.

    Prior to Itunes ver 11.0.0.163, I was able to copy thru the drag/drop process a Itunes Home Shared playlist of music files on one computer - to another Home Sharing enabled  Itunes playlist, on another computer via local network. How is this done now?

    It appears with the release of Itunes ver 11.0.1.02 that this bug has been corrected.  Please close out this thread.  Thanks.

  • Active Directory users not made member of Local Network group

    Hi all,
    I've just done a clean install from 10.6 Server to 10.8.4.
    The issue I seem to be having is a mismatch between what Groups in Server.app is reporting as members (who happen to be users or groups from our Active Directory domains) of a Local Network group and what dseditgroup reports as members of the same network.
    The Setup:
    In Groups in Server.app under Local Network Group I have created a group call "AccessServer"
    Members in that group are:
         - AD-Domain User Group (so should be all users in the domain)
         - MacOS X "netaccounts" group (again, should capture all users that connect through the network I've used this in the past/10.6 very handy)
         - AD User 1
         - AD User 2
         - AD User 3
    The Server is bound to the AD Domain, All-Domains is not selected and a Search Path is added for each Domain needed and set at the top of the search order.
    The Behaviour:
    AD User 1 can access AFP and other services as expected.
    AD User 2 and 3 cannot.
    Another user within AD-Domain User Group or netaccounts can access AFP and other services as expected
    Yet other users within AD-Domain User Group or netaccounts cannot
    Furthermore: 
    If I REMOVE AD User 1 (a working user) *and* the AD Domain Group and netaccounts Group.  I can still login with that account!
    Diagnosis:
    I tried checking group membership with dseditgroup, the results match the behaviour, not the setup.
    >dseditgroup -o checkmember -m ADUser1 accessserver
    yes ADUser1 is a member of accessserver
    >dseditgroup -o checkmember -m ADUser2 accessserver
    no ADUser2 is NOT member of accessserver
    >dseditgroup -o checkmember -m ADDomainUser/netacc accessserver
    yes ADDomainUser/netacc is a member of accessserver
    >dseditgroup -o checkmember -m n accessserver
    no ADUser2 is NOT member of accessserver
    When non-member users try to connect I get a message in the logs of (IP/DNS values anonymized):
    2013-06-25 3:04:36.794 PM sshd[5217]: error: PAM: authentication error for illegal user ----- from ----.mala.bc.ca via x.x.
    I get the same results even after removing the user from the Groups screen!
    Failed Solutions
    - As we are a large AD I've tried specifying specific Active Direcotry servers that might better be able to find the users in question and authenticate.
    - I've let the system just sit, in hopes delayed replication would solve the problem overnight.
    - I've deleted and recreated the groups.

    Upon further investigation we have discovered:
    a) the main behaviour that is causing the problem is best described as AD users that are added to a Local or Network OS X group... either individually or through a Domain group.... are not actually recognized as members of that OS X group even though the GUI or CLI tool have added them and acknowledge them as being in the list.
    b)  This is NOT limited only to MacOS X Server 10.8.  The same behaviour is occuring on a long-running 10.6 server as well.
    c) The problem remains whether we nest AD groups to capture a large bunch of users, or add users individually.  If the user is part of the mysteriously denied set, how they are added to the OD or local group is irrelevant, including if added from the command line.
    d) Which users are allowed and which are not is unclear and appears generally random.  We have found 3 'classes' of users:    
              1 - those that are successfully becoming members every time.
              2 - those that are intermittent members.  Members on one server or another, or in one case even go from being reported as a member (by dseditgroup), to not being a member, to being a member again within the span of only a minute or two.
              3 - those that are never successfully admitted as a member.
    So the problem is both Apple's and Windows in that:
    Apple: Is allowing a group and/or user to be added and implying then membership in the group even though that membership is not being honoured in some way and there is no feedback or communication of that fact aside from generic 'denied' or 'illegal user' errors.
    Windows:  Is passing along membership through its groups and users, but not completely, for reasons that are, at this point, a mystery.
    Really hoping people have some ideas on this.  This system of nested groups or individual user access is something we have of course being using for many years.  So this is a major setback.

  • Share iCal on LAN, between iCal apps

    The question is quite simpel:
    how do I share iCal agendas between Macs on a Local network (LAN)?
    I assume the answer is quite simpel, but I just haven't found it.
    thx for replying!

    Hi,
    A couple of options, and it depends on how you are defining "share":
    1. If each user wants to maintain their own calendar, and then share calendars with other users, the solution would be to Publish your Calendar file to a Server, and then each User would "Subscribe" to the other user's calendars. If you have not done this yet, it is more simple than it sounds, but you do need a location for publishing the calendars. There are a few different options for Publishing, including Apple's .Mac service. There are also free iCal hosting services, such as www.icalx.com.
    2. If you want to maintain one calendar, and keep it synchronized between users, you would use the Sync feature of the .Mac service.
    Hope that helps,
    ML

  • Can you share photos between computers on a local time machine network.  I have iMac with lots of pictures I would like to view on my MacBook Air.  Does anyone know how to do this?

    Can you share photos between computers on a local time machine network?  I have iMac with lots of pictures I would like to view on my MacBook Air.  Does anyone know how to do this?

    Can you share photos between computers on a local time machine network?  I have iMac with lots of pictures I would like to view on my MacBook Air.  Does anyone know how to do this?

  • IPhone no longer connects to my computer over local network through apps

    I've been trying to fix this for months. I've worked with technology and Apple computers for three years. I am by no means an expert but you can believe me when I say I've tried all the basics.
    I first noticed the problem using FullControl. I liked to use this first thing in the morning. One morning it wouldn't connect, "Error: Connection error (22)." I hadn't updated or changed anything. I actually put my computer to sleep the night before using the app! I was on the local network. My computer was running the helper. My computer was showing up as a device in the app. But it would not connect. I figured something was wrong with the app.
    So I opened up Splashtop 2. My iMac showed up in my list but with a satelite icon informing me it was not connecting on the local network. I was still on my wifi as was my computer. I used it earlier that week.
    I checked out the support pages for both apps. I updated everything. I turned off, on, and checked the connections for my firewall. I turned off my security applications and followed guides to remedy blocks they might cause. Nothing worked.
    I checked Apple discussions and found people having similar issues but no one had a fix. A few found success but nothing worked for me.
    A few days later I went to use my Remote app. My iTunes Library showed up in the local devices but it would not connect, "Remote can't connect to your iTunes library. Check your network settings and try again." I checked. Tried again. "Could not find [my] Library." I went back to the devices and connected to my Apple TV 2 instantly. I tried connecting my iMac with the Apple TV and found no issues. Each communicated with the other fine. I tried to connect Remote to my iTunes again but it failed.
    I verified and repaired my permissions. I thought the "SUID... ARDAgent.app... [permission] has been modified and will not be repaired" could've been the problem but Apple and these Discussions assure me that this is normal and not a problem.
    I recently downloaded Air Playit and ran into the same problem. I set it up on my computer following the instructions. I opened the app. The app showed my computer as a "Computer on Local Network" but when I tried to connect to server, "Connect Server Failed: Cannot connect the server, check the IP, Port and try again." I did and it didn't connect.
    Save for this new app, everything worked before. Nothing has worked since that morning FullContol failed (including the new app).
    Is there an answer out there?!
    iPhone 5 iOS 6.1.4: updated as of 06-29-2013
    iMac 2007 OS X 10.6.8: updated as of 06-29-2013
    FullControl (Full version)
    Splashtop 2 (Full access)
    Remote
    Air Playit
    - All apps and applications updated as of 06-29-2013

    Intego's VirusBarrier X6 was blocking my iPhone's connection.
    I saw that the program was blocking attempts to connect and took the address off the Blocked list. I instantly connected through everything again. It turned out to be a major oversight and easy fix!
    If anyone else is having similar issues, check your AntiVandal software and make sure your devices are not being blocked.

  • Multiple AIR apps with the same local cache?

    Hi guys,
    Is it possible to create multiple AIR apps (for mobile & desktop) that can use the same local cache?
    For example: 2 apps for iPad will use the same data store (local cache). If we synchronize (with LCDS) and get all the data for 1 application, if we open the second application, can we access the data set from the other application?
    Thx!

    Hi Vikram,
    Eventhough I think it is techincally not possible, even if it was I would not recommend doing this. I think this is asking for problems and you can wait for the day that somebody messes up your production system, thinking it is DEV.
    I would use names like DEV_Oracle_BI_DW_Base and PRD_Oracle_BI_DW_Base, to clearly distinguish between the environments. But then again, I think Informatica forces you to use different names.
    Regards,
    Toin.
    ~Corrected typo.
    Edited by: Toin on Oct 16, 2008 4:02 PM

  • Adobe Air Local Network P2P

    Hi,
    Is it possible to have Adobe Air application to communicate with each other between a group of PCs networked locally and not connected to the internet? The command send from PC A to PC B, C, D, E, F have to be very fast so that all PCs receive the command at the same time and running the process. Is it possible to do that with Adobe Air? Thanks.

    Hi,
    note: I'm not expert
    #1
    yes, AIR uses SQLite (3.6.*.? now one exactly knows as it is undocumented and sqlite_version() native function will throw runtime error to be handled)
    #2
    it depends for what purpose it will be used and how, yes? e.g.:
    http://stackoverflow.com/questions/3160987/can-sqlite-handle-90-million-records
    #3
    http://www.adobe.com/devnet/air/flex/articles/air_sql_operations.html
    (User experience considerations with SQLite operations)
    http://livedocs.adobe.com/flex/3/html/help.html?content=SQL_01.html
    (docs)
    #4
    there is an option now to create native installer for platform which could be send off-line. It asks user to overwrite content if application is already installed, etc
    #5
    please define "interact" with USB? as disk or interface to talk with some device? Air itself cannot talk to low level ports but could start native process (NativeProcess) to some application/tool/process that could act as middle-tier between your application and usb:
    http://www.adobe.com/devnet/air/flex/quickstart/articles/interacting_with_native_process.h tml
    kind regards,
    Peter

  • IPad Air and streaming video from local network

    Hello everyone! I'm a new member and a new Apple device user.
    I come from Android and honestly my experience wasn't negative or bad, but I was kind of sick of the look and feel of Android. I decided therefore to try something new, fresh and so well spoken of: the iPad Air (16 GB WiFi only model).
    However this is not a review or anything so let me skip directly to the issue: streaming video on a local network.
    In Android this is a basic thing, you can do it in several ways with several app over different networks (SMB, FTP, SFTP, DLNA (UPNP), etc.). The first thing I did is to try the FTP streaming with VLC: suffice to say that after a second it closes itself (the video, not the app), and this happens with all the videos. I've been searching for a working alternative but so far I found only paid apps. I cannot pay for something I'm not completely sure it is going to work. Free alternatives of paid apps are extremely limited (i.e: no audio or even no network streaming).
    What I need to know is this: is it possible on the iPad Air to stream video from a local network (preferably SMB and FTP) without any sort of conversion or transcoding? What I would like to stream are video in 720p or 1080p, sometimes even 15 Gb Blurays. Files are either in mkv or mp4 format. I also always use subtitles.
    Please let me know if this is possible.

    you need to get apps from app store which does upnp and the likes there are plenty
    you can do anything the app support but you can't use the normal build in movie player to play from smb or ftp
    but search app store there are likely support for at least smb not sure about ftp it's a pretty old std which would result in transferring the whole file rather then streaming
    start by looking for vlc in app store and then go on to upnp and smb use search

  • When will AR Andriod APP have the 2-sided print option available for a local network duplex enabled printing?

    When will AR Andriod APP have the 2-sided print option available for a local network duplex enabled printing?

    I solved my problem!
    Since I suspected routing or firewall problems inside the LAN, I went in to the router setup and did some in depth snooping. On an advanced menu of the wireless section was a one-line setting and check-box that said "Block Wireless Bridging". According to the manual, this setting "blocks wireless clients from communicating with other wireless clients on the LAN side of the Gateway."
    I unchecked it and restarted the router and now all macs are screen and file sharing.

  • Encrypt communication between SharePoint Web App and SSRS

    Hi
    I have SharePoint 2010 in multi server farm. The SharePoint web app has SSL enabled. The Reporting Server (SSRS) is http URL.
    So when the Report Viewer web part is used, the communication between SharePoint web server and SharePoint Reporting Server is unsecured. The existing SSL has hard coded hostnames and for business reasons we prefer not to modify it.
    Does anyone know how can I make that communication secured? Do I need to apply new SSL for SP Reporting Services? Is there any other option?

    This should get you off and running on SSL
    http://technet.microsoft.com/en-us/library/ms345223(SQL.100).aspx
    and if you haven't go SQL on SSL - ->
    http://technet.microsoft.com/en-us/library/ms189067(v=sql.100).aspx
    Stacy Anothersharepointblog.blogspot.com

  • Can individual Adobe Air apps be installed without local admin permission into a user-owned folder?

    Is this a supported scenario?
    Windows 7 PC.
    Adobe Air runtime (latest; 4.0) has been installed by an administrator using a local admin account and the eulaAccepted file is present under the "All Users" profile.
    User logs in using her own account which does not have local admin rights.
    User downloads an Air app and tries to install it to C:\Users\<username> where she has full write permissions to the disk.
    What I observe when acting as the User is that the Windows UAC (security escalation to local admin rights) dialog pops up. Can anyone clearly state what the Adobe Air installer is doing that requires the UAC escalation when installing an app to a user's folder? Thanks.

    Thanks for your reply, Chris. We're working around these problems by deploying the Air runtime + the application separately using an administration tool, which is fine for now.
    I logged the question because I don't see any registry edits or privileged folder access taking place. I suspect that the UAC escalation has something to do with the "eulaAccepted" file; checking that it exists. I doubt that escalated permissions are really required for this. In the long term, it'd be good if this "use case" could be added to the test cycle of Air; perhaps the UAC dialog could be avoided, improving the flexibility of deployment options.
    Ideally the test would start with an adminstrator-installed Air package *without* the EULA being accepted. The user should be able to install apps and approve the EULA without the UAC dialog popping up at all.

Maybe you are looking for