Opening Ports

Discussion in 'Perl Misc' started by Tony Curtis, Apr 19, 2004.

  1. Tony Curtis

    Tony Curtis Guest

    >> On Mon, 19 Apr 2004 14:38:38 +0100,
    >> "Connell Gauld" <> said:


    > Hey, Is there a way to open a port to an IP, send and
    > receive information. What I would like is something similar
    > to if you use telnet to open to an IP and port except that
    > the perl code has control.


    If you're doing something with a well-known protocol, there's
    almost certainly a module for it:

    http://search.cpan.org/

    Otherwise look at Net::Cmd and/or IO::Socket::INET

    hth
    t
     
    Tony Curtis, Apr 19, 2004
    #1
    1. Advertising

  2. Hey,
    Is there a way to open a port to an IP, send and receive information. What I
    would like is something similar to if you use telnet to open to an IP and
    port except that the perl code has control.

    Thnaks
    Connell
     
    Connell Gauld, Apr 19, 2004
    #2
    1. Advertising

  3. Tony Curtis

    Anno Siegel Guest

    Tony Curtis <tony_curtis32@_SPAMTRAP_yahoo.com> wrote in comp.lang.perl.misc:
    > >> On Mon, 19 Apr 2004 14:38:38 +0100,
    > >> "Connell Gauld" <> said:

    >
    > > Hey, Is there a way to open a port to an IP, send and
    > > receive information. What I would like is something similar
    > > to if you use telnet to open to an IP and port except that
    > > the perl code has control.

    >
    > If you're doing something with a well-known protocol, there's
    > almost certainly a module for it:
    >
    > http://search.cpan.org/
    >
    > Otherwise look at Net::Cmd and/or IO::Socket::INET


    Also: Net::EasyTCP

    Anno
     
    Anno Siegel, Apr 20, 2004
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mario Trams

    Re: unused input ports

    Mario Trams, Jul 22, 2003, in forum: VHDL
    Replies:
    0
    Views:
    1,148
    Mario Trams
    Jul 22, 2003
  2. Bob

    Re: unused input ports

    Bob, Jul 22, 2003, in forum: VHDL
    Replies:
    1
    Views:
    1,707
    Mario Trams
    Jul 22, 2003
  3. Twisted
    Replies:
    11
    Views:
    746
    Roedy Green
    Feb 24, 2006
  4. mreister
    Replies:
    1
    Views:
    3,395
    mreister
    May 25, 2010
  5. fniles
    Replies:
    0
    Views:
    301
    fniles
    Apr 26, 2009
Loading...

Share This Page