Re: Byte array

2006-01-10 Thread John Doe
John Doe am Dienstag, 10. Januar 2006 15.06: > [EMAIL PROTECTED] am Dienstag, 10. Januar 2006 14.08: > > I'm new to Perl and am trying to set a variable length byte array that is > > passed to a socket as a string for output. I have the following which > > works, but the

Re: Byte array

2006-01-10 Thread Dr.Ruud
[EMAIL PROTECTED] schreef: What the others wrote, and: > my $sock = new IO::Socket::INET( PeerAddr => '10.10.2.141', PeerPort > => '5', Proto => 'udp' ); > die "no socket\n" unless $sock; my $sock = new IO::Socket::INET( PeerAddr => '10.10.2.141' , Pee

Re: Byte array

2006-01-10 Thread John Doe
[EMAIL PROTECTED] am Dienstag, 10. Januar 2006 14.08: > I'm new to Perl and am trying to set a variable length byte array that is > passed to a socket as a string for output. I have the following which > works, but the commented out code doesn't. What am I doing wrong? Thank

Re: Byte array

2006-01-10 Thread Shawn Corey
[EMAIL PROTECTED] wrote: I'm new to Perl and am trying to set a variable length byte array that is passed to a socket as a string for output. I have the following which works, but the commented out code doesn't. What am I doing wrong? Thanks. use IO::Socket; use Time::HiRes qw(usl

Byte array

2006-01-10 Thread jeffrey . ramsey
I'm new to Perl and am trying to set a variable length byte array that is passed to a socket as a string for output. I have the following which works, but the commented out code doesn't. What am I doing wrong? Thanks. use IO::Socket; use Time::HiRes qw(usleep ualarm gettimeofday tv_int