On 9/6/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
In a udp socket test routine, I want to write some integers to server in network order.
my $v = 3; foreach (1 .. 3) { print $sock $v++; }
That doesn't look like "network order", it looks like "plain text". Didn't you want to use pack()? Hope this helps! --Tom Phoenix Stonehenge Perl Training -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>