Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8302397
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T17:16:52+00:00 2026-06-08T17:16:52+00:00

We are attempting to provide a service where two customer devices would need to

  • 0

We are attempting to provide a service where two customer devices would need to talk to each other through our servers. Each device may come online or go offline at anytime. When they are both online, they can exchange information with each other through our server.

I am inclined towards a Flex/PHP solution, however following scenarios baffle me:

1) when client device-A attempts to get some information from client device-B through my server, the incoming request from device-A will be a Flex AMF service request. How do I relay that flex request to device-B? Relaying is preferred if possible. Else, should I terminate the request from device-A on my server and originate a request to device-B?

2) when device-B responds with data to the request from device-A (discussed in (1) above), can I relay that data to device-A directly or do I need to terminate the response and send a new message to device-A with the data from device-B?

May be I am completely off-track or Flex/AMF/PHP is not the best solution. Let me know what you think.

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T17:16:53+00:00Added an answer on June 8, 2026 at 5:16 pm

    I have a similar setup, even though my server is a BlazeDS Java Server and not PHP. I solved this problem by using Amf Destinations. If you are familiar with JMS, this is relatively similar. I have one public destination for inter-client-communication and one private destination for each client. When one client wants to know something from any other client it sends a message to the public destination and all clients get the request. In the request the client passes the id of its private destination. If one client gets the requests and notices that he should respond, he simply sends a response-message to the private destination that was mentioned in the request.

    I hope this is what you were asking for. You could alternately send the response to the public desination. The side-effect however would be that the response would be sent to all the other clients too and this would only increase network traffic and make the clients have to filter out stuff that is not sent to them.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm attempting to implement a delegate Service provider by overriding the bean definition for
I'm attempting to change the screen brightness from withing a service, like so: android.provider.Settings.System.putInt(getContentResolver(),
I am attempting to provide user friendly error messages via my web application for
Attempting to set up an automated texting service for customers, where people can text
I am attempting to implement a custom locale service in an MVC 2 webpage.
I am attempting to provide a web-based solution for users to select a file
I'm attempting to put a web service wrapper around several third-party web services. For
I am attempting to consume an intranet web service with WCF. I added reference
I am attempting to send statuses to appFabric via a service bus from a
I'm attempting to use MsDeploy runCommand provider to uninstall and reinstall a Windows service

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.