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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T15:39:01+00:00 2026-05-13T15:39:01+00:00

i have a continously running Serverprogram (C#/.NET 2.0 on Linux with mono) and i

  • 0

i have a continously running Serverprogram (C#/.NET 2.0 on Linux with mono) and i want to connect to it from a PHP Script to display status informations on a WebSite.

The purpose is to create a (sort-of) Realtime Browsergame (No Flash, no Silverlight) and i want to use the PHP Script to get the necessary informations from the C# GameServer, i.e. current unit positions, player resources, score, visible map, etc. Informations update every second or even faster but actions might take hours or even days (i.e. research might take a week to complete)

Are there any libraries which allow me to easily transfer informations between those two parts of the program?

My thoughts:

  • Use an embedded WebServer and connect via PHPs SoapClient.
    Does anyone have experience with a free embedded WebServer (free because the Game will be free)?

  • Socket Programming and transfer chunks of JSON/XML/SOAP.
    Are there any simple libraries for this type of network communication for PHP/C# that automatically reads from the socket until the message is done and then i.e. sends an event to the game controller?

  • Simply Dump per-user and global Data into a Database or into xml files
    Easiest solution but imho not scaleable enough.

What would you suggest?

Thanks in advance.

Addition for others having a similar Question:

After a little more research after posting this Question i stumbled upon
the .NET System.Net.HttpListener which is even supported by mono so i will
use this now. It seems to have everything required to embed an WebServer
into your running Server.


  • 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-13T15:39:02+00:00Added an answer on May 13, 2026 at 3:39 pm

    I would use a simple embedded webserver and just use the PHP Curl extentions to interact with it http://php.net/manual/en/book.curl.php. For the embedded webserver I’d start looking on codeplex e.g. http://www.codeplex.com/webserver.

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

Sidebar

Ask A Question

Stats

  • Questions 367k
  • Answers 367k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer §2.13.2/4: The escape \xhhh consists of the backslash followed by… May 14, 2026 at 4:49 pm
  • Editorial Team
    Editorial Team added an answer This is exactly what duplex bindings were designed for. The… May 14, 2026 at 4:49 pm
  • Editorial Team
    Editorial Team added an answer The application I am currently working on includes the functionality… May 14, 2026 at 4:49 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.