Communicate between two desktops

Can anyone lead me to a resource, or briefly describe the process, to address the scenerio below:
I have two Windows computers on a LAN. I need to develop an application  for each computer that (when both computers are runing the application) allows communication between the two machines. For example: pressing a button within the application on one computer would execute a function in the application of the other computer). I am comfortable building stand-alone air apps and web-based PHP/MySQL apps with Flash/Air/Dreamweaver; however, I don't know where to start when creating a connection between two computers. Any suggestions? Thanks!

I've worked on several projects where we did this. We used a "client/server" architecture where one of the AIR apps acts as the "server" (conceptually it's the same as a web server) and the other AIR app is the "client" that connects to the server the way a web browser would talk to a web server.
For your "client" use the Socket class.
For your "server" use the ServerSocket class.
Alternatively, we also used UDP sometimes, so we'd use the DatagramSocket class on both sides (both act as "sender/receiver"). However, my recollection is that we ended up moving away from UDP since it's unreliable (by design) and switched to using TCP sockets (Socket/ServerSocket).

Similar Messages

  • Communicate between two iviews

    Hi everyone, if i create two iviews. And i want to pass a variable from one iview to the other one by triggling an event .
    What technology can help me do that?  Thx~~

    Hi Louis,
        Communication between two iviews is accomplished by EPCF concept.
      Refer to this forum thread where Prakash Singh has clearly explained about the same
    Communicate between two iviews
    Hope this helps.
    Regards,
    Joshua Kiran

  • White box appears while switching between two desktops

    Hello all,
    Since few weeks I have a problem when I switch between two Desktops. Everytime I switch between them a white box appears in the left corner of my screen (see screenshot).

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, or by corruption of certain system caches. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled on some models, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including sound output and  Wi-Fi on certain iMacs. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • How can I communicate between two simulated software

    Hallo,
    I have confusion regarding this topic "How can I communicate between two simulated software".
    1: PC with CAN simulation
    2:  PC with AFDX Simulation
    Now i have to communicated these two pc with each other.
    How can i communicated? which module from ni is best for it.
    thanks in advance
    BR

    I recommend looking at the Simple Messaging Reference Library that NI has released.  Use the TCP/IP version of it.
    FYI, TCP/IP is a communication protocol that is used to communicate between two computers.  It is what the internet uses.  So you just need a network switch or router between your computers and you can talk to each other with their IP address.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Communicate between two differente JavaFX desktop design file

    I have created two JavaFX desktop design file with netbeans 6.9.1. One is the login and the other de principal menu. In java i create a object of the principal menu an just call object.setVisible(true).
    So in javafx how to call the menu principal from the login?. what should i code in the btnLoginAction??
    this is the login javafx:
    function btnLoginAction(): Void {
    function run (): Void {
    var design = Login {};
    Stage {
    title: "Main"
    scene: design.getDesignScene ()
    }

    I'm not looking for a "tutorial created especially for me".... Just perhaps someone that can copy and paste some code from a similar project that they have done so I understand how to do it.
    You could have simply put here's a tutorial for how to use TweenLite to crossfade between four pages, and here's one that will let you pass information between two .swf files. If you recently watched the tutorials then it wouldn't take long to find them (maybe you have them bookmarked) and post a couple links.
    Anyways, I just found an excellent tutorial on how to crossfade using TweenLite (found here) and an article that explains how to pass information from one .swf to another (here). It took some searching and knowing exactly what I was looking for to find them, but that's a much better answer for someone looking to do those two things than I've found here (or elsewhere for that matter).

  • ICloud between two desktops

    I have iWork installed on my iMac at home and at work. I have activated iCloud and would like to be able to make changes to the documents on both machines and keep the documents synced. I do not have the iWork app on my iOS device, but am wanting to be able to access these files remotely on other desktops/laptops. Is it only possible to share iWork documents via iCloud between iOS and a laptop/desktop and not between two laptops/desktops?
    When I log in to my iCloud account and select the iWork icon it prompts me to set it up with either an iPhone or iPad.
    Thanks for the input.

    If you want to upload documents that aren't for use with iOS devices this User Tip might be of interest.

  • Communicate between two backing beans

    Hi !
    How can I communicate between backing beens ?
    I would like to put data from Bean1 to Bean2.
    This is my code in Bean1, I try this:
    Bean2 b = new Bean2();
    //... b settings...
    //Map map = facesContext.getExternalContext().getRequestMap();
    //map.put("Bean2", b);
    HttpServletRequest request = (HttpServletRequest)facesContext.getExternalContext().getRequest();
    request.setAttribute("Bean2", b);
    So I put Bean2 instance in request, but JSF created new instance :(
    How can I solve this problem ?

    This article might give you some new insights: http://balusc.xs4all.nl/srv/dev-jep-com.html

  • To communicate between two process

    I have two processes running on two different machines. They have to communicate with each other by sharing messages in a peer to peer manner. What is the best possible way to achieve this. I have finalised upon using sockets, but reestablishing connections after other peer is brought down is a pain with sockets.
    thanks and regards.

    To exactly put it there's a GUI running on one machine and a process on other. both of these share messages. Now it must be something like bringing one down then other should not be affected it should keep buffering messages and wait for other side to come up and then start sending messages. I looked into JXTA it seemed to be a big API to work with for such a small applicaiton. It won't be a good idea to provide client with hardly some 500K of class file(or less probably) and 1.4 MB of API's. So thats why thought of writing my own communication classes which will handle this on both ends. How complicated JMS would be to work with. Does it have direct calls like register an application on some machine and then start sending and recieving messages and also take care of any of these processes being up or down.
    let me know
    thanks a ton for your support.

  • Communicate between two JInternalFrames

    Hello all.
    I have a swing application where I have a JFrame that encompasses two JInternalFrame's.
    We'll call them AppFrame, IFrame and StatusFrame
    I am attempting to create a running log of messages (Strings) that will be shown in StatusFrame.
    The IFrame will be generating these messages that need to show up on StatusFrame.
    Both are invoked by AppFrame.
    My question is: How do I pass the message from IFrame to StatusFrame? I imagine it will involve some object sharing, but my brain is fried.
    If anyone could point me in the right direction, I would appreciate it.
    Thanks!

    Thanks for bringing me up to speed!
    Just a couple of questions...please forgive me, I am very new to homegrowing listeners.
    1) When you said "which should save off the listener in some collection", how would you go about taking StatusListener listener and storing it, and, how do I access it to send a status? Do I access it by using:
    listener.statusChanged("message")?
    2) When you say "use the addStatusListener method of the iframe to add itself", just for clarification, I assume you mean something to the effect of:
    iframe.addStatusListener(statusFrame) , right?
    Again, thank you for helping me understand. I'm not quite there, but I am a lot further than I was yesterday.
    Message was edited by:
    nawlej

  • Communicate between two (same) Applications

    Hi there,
    I've written a server application in java.
    This Server is always running in the background.
    For restart/shutdown or similar purpose I want to communicate with this application.
    Is ist possible to start the same application with a args-flag that causes the running server to shutdown.
    I know it's easy possible by doing this via the socket connection.
    Because of security-reasons I want to avoid this. To limit this to the localhost is to insecure.
    Any ideas?

    Ok, I will explain it in detail.
    I don't want to open a new Port for this,
    so it is possible to use the existing open port.
    The idea to limit control sequences to localhost can made by Socket.getInetAdress() (maybe insecure (fake IP)) for the existing port or via Konstruktor of ServerSocket for a new port
    The point is:
    I dont't want to grant access to other users on this machine!
    And I don't want to limit a port for localhost from the system-enviroment via root-possibilities.
    If there is no other possibility, I think I try to use a new Port for this. I just wanted to know if this is the only possibility or are there other easier ways.
    Thanx for helping
    thosta

  • How Can i communicate between two iviews?

    Hi all,
       I am having two iviews.I want to conect those two in two pages.How can i do this?Can any one help me out from this?
    regards
    Sudeep.

    Hi ,
    Try this
    WDPortalNavigation.navigateAbsolute("ROLES:"+iview,WDPortalNavigationMode.SHOW_INPLACE,(String) null, (String) null, WDPortalNavigationHistoryMode.NO_DUPLICATIONS,(String) null,(String) null,"Param=Paramvalue");
    "ROLES:"+iview=Iview Path
    "Param=Paramvalue"=Parameter and its value
    Youcan receive the value as
    String parmvalue=WDWebContextAdapter.getWebContextAdapter().getRequestParameter("Param");
    Kind Regards
    Mukesh

  • Is it possible to sync Lightroom and LR Mobile between two desktops?

    I have an Ipad, iPhone, Mac and Windows 7 PC.  I can sync LR Mobile between the iPad, iPhone and Mac OR between the iPad, iPhone, and Windows 7, but LR will not let me sync between all four.  Whenever I open LR on my Mac after syncing with my PC, it says that I either have to switch catalogues (which then deletes all of my mobile collections) or stop syncing that machine altogether.
    It seems like it should be possible to have a catalogue on my PC and then download my collections from LR Mobile.  Can I do this?

    Is it possible to check whether this functionality is in the roadmap for LR? I would love this feature - I have LR installed on 2 Windows machines and would like to sync my photos (and edits!) between these. It may be possible using Dropbox or similar service but it feels like this should be built-in to CC.

  • How to communicate between two servlet applications.

    I want to write a program that the system manager can see who is connecting the server.
    the system manager login the server via the browser with applet.
    the applet communicate with servlet .and the servlet work in the server get the customer message such as username ,Ip address etc from other servlet.
    how to realize it .?
    can you give some advice .
    I appreciate you .
    thank you

    Look at, http://forum.java.sun.com/thread.jsp?forum=54&thread=262144

  • How to synchronize my bookmarks between two desktops running firefox?

    I do hope there's a simple way to achieve this, otherwise I would be terrible dissapointed.
    All I wanted was the good old Xmarks funtionality, but using mozilla servers.
    After many attempts, I still can't achieve this thing that should be absolutely trivial.
    I registered my user in firefox sync, then in another computer I just expected to enter my username and password and to synchronize my bookmarks, but I couldn't achieve it.
    Now I just want to reset my account and start from scratch with a simple guide. I'd like to upload my bookmarks again from my primary desktop, and then being able to download those very same bookmarks from any other desktop (the usual xmarks stuff)
    Is it possible to do it in a simple way, or shall I just quit firefox sync for good and go with xmarks?
    saludos
    sas

    You can take a look at Sync.
    *https://support.mozilla.org/kb/what-firefox-sync
    *https://support.mozilla.org/kb/how-do-i-set-up-firefox-sync
    *https://support.mozilla.org/kb/add-a-device-to-firefox-sync
    # open "Tools > Options > Sync" or "Firefox > Set Up Sync"
    # click "Set Up Firefox Sync" to go to "Firefox Sync Setup"
    To add more devices you can either pair a device or enter the credentials manually.
    # click "I Have an Account" : Connect
    # click "I don't have the device with me" at the bottom to enter the account settings (email, password, sync key) manually
    You can click the "Sync Options" button at the bottom to select what to sync.
    *https://support.mozilla.org/kb/how-do-i-manage-my-firefox-sync-account
    *https://support.mozilla.org/kb/firefox-sync-troubleshooting-and-tips

  • Communicate between two tabs

    Hi friends,
    I have a small issue. I am using struts pdk tags to develop portlets. My region has got 2 tabs(say tabX,tabY).And the content of each tab is a pdk portlet. When i click on a image in tabX,how can i display tabY. Pls help me out.
    Rgds,
    Dhananjay.

    We cant do that way since, a tab is not a jsp. but while fwd my response from an action class it should be a jsp. Hope u r clear. If any clarifications ask me.Hi,
    You can do the link pointing to your tab as sandeep said. Pointing means the jsp page will be added into portal page as a portlet after deployment.
    Then as sandeep suggested you can redirect to that portal page which is having the jsp and the tabs.
    Regards,
    Vijay.B

Maybe you are looking for

  • How to get an ArrayList Object in servlet from JSP?

    How to get an ArrayList Object in servlet from JSP? hi all please give the solution for this without using session and application... In test1.jsp file i am setting values for my setter methods using <jsp:usebean> <jsp:setproperty> tags as shown belo

  • How to sync iPhone contacts back to Address Book.

    I came across this problem and found a work-around on the forums, but some guys there–including myself–felt that iTunes should sync our contacts bi-directionally from iPhone to Address Book on our Macs, and vice versa. As it turns out, that's really

  • Menu Bar In Muse CC 2014 vs. Menu Bar in Muse V7.4

    Ok! I admit to old age and failing eye sight but I something I do not understand is why are their two versions of Muse and which one should I be using? Muse 2014 appears to have more features but the menu bar and subsequent drop down menu's are extre

  • Motherboard Monitor compatible with K7N2 Delta2 Platinum??

    When installing the above mentioned software, which (if any) is the most apropriate model to select from the K7N2 range of boards, as the Platinum version is not listed....?? thx D.

  • T530 lcd image distortion​s - possibly from hinge?

    Hi everybody, I am first time poster. I own a T530 and so far I am very satisfied with it - the best laptop I've had, better even then my previous Elitebook and Macbook pro. I am posting, because the LCD screen started to show image distortions when