CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 1 of 1
  1. #1
    Join Date
    Jul 2005

    Server application atop Apache - how to?

    Hello all!

    I've recently been working on a simple game server, using Visual Studio 2008.
    It all works fine, but while working on it I've been thinking to myself something like "why am I re-inventing the wheel here?".
    What I mean is, there are very good server applications out there, and one if not the best is the Apache HTTPd.

    Now Apache HTTPd supports something called "mod". In other words - plug ins.

    My question is, if someone had any (good) experience with building your own server, with your own protocol (I'm not gonna use any kind of HTTP protocol - it's gonna be pure binary) using the method I've mentioned above (Apache mod) ?

    I know there's something called Apache Mina, but this is a framework for Java developers. I'm looking for the C++ counterpart

    I ask this because I don't know if it's possible at all and I'm SURE there's someone here who knows the mod interface of Apache good enough to tell me if this is possible.

    Please keep in mind that since it's a game, the connection sessions will access some shared memory parts which I'll have to sync access to, obviously.

    I really hope someone here cares about this post, and I think it's interesting anyway.

    Thank you and have a good day!

    ** added **
    I forgot to mention that I've seen a few samples on writing mods (modules) for Apache.
    Seem to be Ok, yet, to know the answer for my general question I think I'll still need an "expert" advice, before getting into it and possibly getting lost at it
    Last edited by mikoil; March 14th, 2009 at 10:16 AM. Reason: forgot to mention something..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.