in reply to Re: Re: bidirectional client
in thread bidirectional client

As of VERSION 1.18 all IO::Socket objects have autoflush turned on by default. This was not the case with earlier releases.
Is some.com what you are actually trying to connect to? I get connection refused (I'd rather not mock up my own server that may or may not be anything like what is in your environment). A sample transcript (data entered on STDIN) might prove useful as well.

I changed PeerPort to 80 and enter GET / HTTP/1.0 and receive multiple lines as a response.

--
perl -p -e "s/(?:\w);([st])/'\$1/mg"

Replies are listed 'Best First'.
Re: Re: Re: Re: bidirectional client
by learningperl (Initiate) on Nov 26, 2001 at 02:58 UTC
    to test it on httpd server is not good, because you only entered command once(get...), please try it on a smtp server(supposedly you should be able to interact with the server)
      False, an HTTP server is a pefectly valid assesment. I was able to to make HTTP/1.1 requests each receiving multi-line responses. Has it occured to you that the server you are intereacting with might be the problem?

      --
      perl -p -e "s/(?:\w);([st])/'\$1/mg"