in reply to (tye)Re: 'telnet' sending bizarre ascii to perl server
in thread 'telnet' sending bizarre ascii to perl server

So what would be the way to make perl 'aware' of when telnet is coming-on-strong with the full protocol, rather than not?

JP -- Alexander Widdlemouse undid his bellybutton and his bum dropped off --

  • Comment on Re: (tye)Re: 'telnet' sending bizarre ascii to perl server

Replies are listed 'Best First'.
Re: Re: (tye)Re: 'telnet' sending bizarre ascii to perl server
by AgentM (Curate) on Mar 09, 2001 at 03:12 UTC
    Well, modify your TCP server to use the telnet protocol if you wish to connect to it via telnet. Would you use a QuakeWorld client to connect to an FTP server?
    AgentM Systems nor Nasca Enterprises nor Bone::Easy nor Macperl is responsible for the comments made by AgentM. Remember, you can build any logical system with NOR.
Re: Re: (tye)Re: 'telnet' sending bizarre ascii to perl server
by Gloom (Monk) on Mar 09, 2001 at 04:34 UTC
    Maybe kick telnet, and use a raw-tcp client, like netcat. It's great tool for this kind of experiences.
    A quick search on google will help you to find it.
    ____________________
    Hope this helps
(tye)Re2: 'telnet' sending bizarre ascii to perl server
by tye (Sage) on Mar 09, 2001 at 23:16 UTC

    It doesn't look (from a quick look) like Net::Telnet knows the Telnet protocol nor that some other module in CPAN does. O-: Perhaps someone would enjoy teaching it to Net::Telnet?

            - tye (but my friends call me "Tye")