Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

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

by reasonablekeith (Deacon)
on Sep 10, 2009 at 15:25 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-04-19 05:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found