Perl Script Help needed
Results 1 to 3 of 3

Thread: Perl Script Help needed

  1. #1
    Junior Member
    Join Date
    Jan 2003

    Lightbulb Perl Script Help needed

    hey, how might I make a connection with a perl script through a proxy server or a proxy chain?

  2. #2
    Senior Member roswell1329's Avatar
    Join Date
    Jan 2002
    You could use sockets. Sockets are the main mechanism that Perl uses to communicate on the network. Here are a couple of intro tutorials to Perl and sockets:

    /* You are not expected to understand this. */

  3. #3
    Senior Member
    Join Date
    Jan 2002
    Use libwwwperl to make the HTTP connection (assuming here that it is an HTTP connection you want to make). Set the options in libwwwperl (read perldoc LWP) to use the proxy on the given host name and port number. That should work.

    Unless you're doing something really low level there's no need to use sockets directly.

Posting Permissions

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