http://qs321.pair.com?node_id=667132


in reply to Re^2: Perl Sockets question
in thread Perl Sockets question

perl -MIO::Socket -e 'print "$IO::Socket::VERSION\n"'

Replies are listed 'Best First'.
Re^4: Perl Sockets question
by jimbo (Initiate) on Feb 09, 2008 at 04:28 UTC
    I got 1.29 returned. OK, well the interesting thing is, as per my last post, the client I Was using was less than helpful, because infact when I wrote another client using a different control, it all worked fine ! HOWEVER.....it seems to output one lot of data, then I endup with a heap of spaces (hex 20) then I get the rest of the data. i.e. one part of hte data comes out, a heap of spaces, then the last of the data. There is quite a bit of data being output tho. If I output the serial data at the same time, the data is fine. I cant figure it out. Any Idea why I would getting the extra spaces? Jeremy
      I'd suggest you test your network with more stable tools, such as nc (netcat) or telnet.

      That could save you lots of trouble ;-)

        My tools are quite stable (apart form the first one..that was just a mistake on my part). I have tried 2 different tools now, and they give the same result, Thats why I cant work out where the extra spaces are coming from.