in reply to Re: bidirectional client
in thread bidirectional client

I am not sure. I DID test it with autoflush turned on. same result. (IIRC, autoflush by default is on in recent IO::Socket). The server side in this case is sorta like SMTP.

Replies are listed 'Best First'.
Re: Re: Re: bidirectional client
by belg4mit (Prior) on Nov 25, 2001 at 09:03 UTC
    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"

      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"