![]() |
Proxy using Perl
I was wondering whether its possible to write a program which acts like a proxy server in Perl, so what I figured out was anything is possible with Perl. Below is the code, try it, its wonderful.
I used threads to manage multiple requests, so the program can handle multiple requests concurrently. :) More can be done with IO::Socket in Perl. Code: Perl
|
Re: Proxy using Perl
i have error on linux redhat 9
this error: threads version 262144 required--this is only version 0.99 at /usr/lib/perl5/5.8.0/Exporter/Heavy.pm line 121. how to solve this problem. Thank for help. |
Re: Proxy using Perl
You need to upgrade the module named "threads", use cpan from your shell to install the latest version of the threads module.
|
Re: Proxy using Perl
how to use cpan.
please help me step by step. |
Re: Proxy using Perl
Type "cpan" at the shell prompt, and then type "install threads"
It'll download the module and install it. |
Re: Proxy using Perl
it work !!!
Thank for help. i use this Proxy for audio streaming when i close program such as "winamp" but threads is not Terminated. Thank for help again. |
Re: Proxy using Perl
Hello Pradeep!
Great code.. pradeep . i have written a code using which i can send emails to a list of ids using smtp. now i wana enhance the code.. i wana send the email through a proxy server. how can i .. can u plz help me? |
Re: Proxy using Perl
Set a system level proxy!
|
Re: Proxy using Perl
hello pradeep!
Do u mean i want me tamper the configuration of the system? can i be done through a code? i've tried masking... |
Re: Proxy using Perl
i'll send u the code wch i have written if u want me to..?
|
| All times are GMT +5.5. The time now is 21:02. |