in reply to How to use mod_perl as a socket server?

please use descriptive titles for your nodes.

You can't "access directly to mod_perl using sockets". You can send HTTP requests to mod_perl applications just like you can send HTTP requests to any web server, and there are much better libraries already for doing that than using the socket layer. See (high level) WWW::Mechanize and (rather more low-level) LWP::UserAgent.

  • Comment on Re: How to use mod_perl as a socket server?

Replies are listed 'Best First'.
Re^2: How to use mod_perl as a socket server?
by diotalevi (Canon) on May 09, 2007 at 14:42 UTC

    I'm 99% sure opensourcer is doing something prosaic so this post is 99% sure to be irrelevant to him or her. I just wanted to respond to you to say that you can use mod_perl as a socket server. Override the Connection handler and you're free to leave http behind and go be something else entirely different. We've got an RPC sort of thing going instead. Apache+mod_perl is just a convenient server to hang our framework off of.

    ⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊