Michael G. Schwern [Tue, 12 Jul 2005 13:18:34 +0000 (06:18 -0700)]
Message-ID: <
20050712201834.GA29275@windhund.schwern.org>
p4raw-id: //depot/perl@25131
use IO::Socket;
my $sock = IO::Socket::INET->new('some_server');
- $sock->read(1024,$data) until $sock->atmark;
+ $sock->read($data, 1024) until $sock->atmark;
Note: this is a reasonably new addition to the family of socket
functions, so all systems may not support this yet. If it is