Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Missing data in IO::Socket::INET sysread/syswrite

by reasonablekeith (Deacon)
on Sep 10, 2009 at 15:25 UTC ( #794600=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        my $sock = IO::Socket::INET->new(PeerAddr => '127.0.0.1',
                                             PeerPort => '9090',
                                             Proto    => 'tcp')
          or die("Couldn't connect: $!");
    
  2. or download this
    
        my $server = IO::Socket::INET->new( Proto     => 'tcp',
    ...
                                            Listen    => 10,
                                            Reuse     => 0)
            or die("$!");
    
  3. or download this
    # server
    sub write {
    ...
    
        return $buffer;
    }
    
  4. or download this
    server
      ...
    ...
      
      Tried to read 00000000000000014848 bits but only got 13140 bits
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://794600]
Approved by ikegami
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2022-12-03 22:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?