Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: Perl Sockets question

by redgreen (Curate)
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"'


Comment on Re^3: Perl Sockets question
Download Code
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.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2014-10-24 21:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (138 votes), past polls