14 Mar, 2009, JohnnyStarr wrote in the 1st comment:
Votes: 0
hey, i might be bringing up an old thread, but i couldnt find exactly what
i'm looking for, so if anyone could point me in the right direction either way:

it's been suggested that instead of building a web olc i could just tap into my running mud project via http? where can i find documentation for this? i know that you have to have a http port for the mud?

thanks
14 Mar, 2009, David Haley wrote in the 2nd comment:
Votes: 0
You need to implement an HTTP server. There are many ways of doing this. Basically you need two main things:

(1) a way to parse HTTP requests
(2) a way to handle the parsed requests

The first (parsing) is pretty standard and you can probably find libraries in your language for doing that.
The second is obviously much more dependent on your particular application.

I don't know of any documentation specific to writing HTTP servers for MUDs, but you could always take a look at codebases that implement this. CoffeeMUD comes to mind off the top of my head but there are others.
14 Mar, 2009, elanthis wrote in the 3rd comment:
Votes: 0
If I recall, you are using Ruby for your MUD. There are a number of existing Ruby HTTP server libraries. You can probably find one that gives you what you need.
0.0/3