IO::Socket::INET does what you want....
I guess there are more moduls, with more functionality regarding http @ cpan.
Detailed tutorials how to build a daemon process are in the internet. (At least
5-10 very detailed, very good.)
Else: Buy a copy of "Networkprogramming with Perl" written by my favorte
Perl-Guru L.Stein. This book is great.
Panda-X <exilepanda@xxxxxxxxx> hat am 14. Oktober 2008 um 07:44 geschrieben:
> I am going to study how to working on daemon / socket, and I am working on a
> Win32 environment.
> As beginning, I only want to run a daemon listening on a port, and when I
> send http request to the port, the daemon will return me a '1'. And that's
> Any simplest sample code for this? I've tried on Google, but they goes too
> in-depth for me that I can't understand.
> Besides, is that any particular modules I need to install ( for Win32 ) to
> making things work ?
> Thank you very much