Help with Socket install

From: Sean (aether8203_at_yahoo.com)
Date: 07/09/04

  • Next message: Eric Enright: "Re: $var = <LINE> ??"
    Date: 9 Jul 2004 05:51:10 -0700
    
    

    I am working with an OLD copy of Perl 5.004_04 with a "buggy" Socket
    module (version 1.6) and IO::Socket::Inet version 1.1603. The problem
    I am having is with Socket timeout issues - they just don't work.
    Looking into it I found that this version used signals to try to
    timeout whereas Grahm's new version uses blocking and IO::Select
    calls.

    Anyways, the Sys Admins REFUSE to install the new Perl and/or new
    Sockets *(don't ask - long story). I know a perl program can use its
    own modules located in a specified directory referenced via the @INC
    variable. For sockets, what "files" do I need? I know there will be
    Socket.pm but looking into the TAR version of the CPAN Sockets, there
    are files like: Socket.xs, socket.h, etc. What would I need to
    "grab" to put into my own "modules" directory for the program to use
    it versus the installed version in
    /usr/share/lib/perl5/irix-32/5.00404 ? I don't have root access and
    can not install into the default perl path and /usr/lib directory for
    any compiled libraries.

    Thanks all,
    Sean


  • Next message: Eric Enright: "Re: $var = <LINE> ??"

    Relevant Pages

    • Re: Maximum number of sockets
      ... recompile your program and it will can ... have more sockets. ... I suspect I have to recompile Perl but I am using ActiveState Perl and I ...
      (comp.lang.perl.misc)
    • Re: Sockets
      ... Lincoln Stein's great book of 'Network Programming with Perl' is very good for your purpose. ... Subject: Sockets ... Most comprehensive set of free safety and security tools, free access to millions of high-quality videos from across the web, free AOL Mail and more. ...
      (perl.beginners)
    • Re: Perl and Sockets
      ... to get any other work done unless you use threading. ... Sockets wrapper takes care of the threading needs for me. ... same *program instance* for other stuff could be, ... Someone refered me to Perl which I ...
      (comp.lang.perl.misc)
    • Re: cannot determine peer address with Unix domain sockets
      ... PHP sends the command just fine, but perl dies as soon ... AG> here's the perl code which creates and reads the sockets ... that is for UDP sockets and you have a TCP ...
      (perl.beginners)
    • RE: how to interupt a running program
      ... >I need to control a perl program from another perl program. ... >similar commands did not help me out.. ... it sounds like you need to use Sockets to communicate ... Then the cgi script, accepts some input thru cgi, and ...
      (perl.beginners)