Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re^3: Perl Sockets question

by redgreen (Priest)
on Feb 09, 2008 at 03:41 UTC ( #667132=note: print w/replies, xml ) Need Help??

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 ! 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.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://667132]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2021-10-21 07:20 GMT
Find Nodes?
    Voting Booth?
    My first memorable Perl project was:

    Results (82 votes). Check out past polls.