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 665423
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T23:42:23+00:00 2026-05-13T23:42:23+00:00

I need a server to send and recieve XMPP messages from Android clients running

  • 0

I need a server to send and recieve XMPP messages from Android clients running a multiplayer game I’m writing. I picked XMPP because I don’t want to long poll and Sockets can be an issue over the cellular network (Carriers may block them).

I have been looking at OpenFire whilst it sounds amazing, I don’t need an admin panel Voice Chat, Chat Rooms etc. it seems very heavyweight and geared towards a chat solution for businesses when all I need is to match players and pass their moves to each other recording a score at the end. Is there a stripped down version of OpenFire so I can just register one component which will service all requests? Regarding adaptation with openfire I can’t find a clear example of adding a custom component to perform a similar task.

What I need is a library or existing simple server which I can run and register my custom message listener to. I just need to be able to service any requests coming in and respond appropriately. I’m hoping that I don’t have to write the thread management as that issue is common to a typical chat server but I do need to write the code to interpret and respond to the messages sent.

I hope this makes sense, anyone who has written such a piece of server code I would love an example. For those of you that haven’t tried it but have an idea how you would start please chip in too! The more detail the better.

Thanks in advance,

Gav

  • 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-05-13T23:42:23+00:00Added an answer on May 13, 2026 at 11:42 pm

    You can use almost any XMPP server; I know that Openfire will work, or I’ve also recently used Prosody which is very lightweight and easy to install (on Linux).

    What you want is a standalone component that communicates with your XMPP server (and thereby can reach your users) using the XMPP component protocol. That’s where the game intelligence lies.

    See my previous answer to a very similar question for more detail:
    XMPP C# Interaction

    Another great place to look for information is anything written by Jack Moffitt, who created chesspark.com (since purchased by chess.com so not available) — a site that matched chess users and controlled games using XMPP.

    See this blog post as a start:
    http://metajack.im/2008/11/21/chesspark_design_details_part_1_why_xmpp/

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

Sidebar

Related Questions

I need send certain attributes(say, human readable user name) from server to client after
I need to be able to send a file to another website from server-side
I want to send messages to mobile phones using wamp server in php.I need
I have a Faye server running with ruby, and now, I need to send
How to send\recive SslStream from TCP server in C#? I need a simple tutorial
I have the need to send/receive messages towards/from different topics stored on a single
I am trying to send text messages to my phone from my server using
I need one server to receive ip requests from clients(there are not in the
I am trying to send HTTP request and recieve responce from the server over
I have objects A and B that need to send and receive messages from

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.