socket.ph, ftp.pl and chat2.pl error found for Solaris and Irix 
Author Message
 socket.ph, ftp.pl and chat2.pl error found for Solaris and Irix

It appears that sometime in the last couple of years a change took
place in the basic assignments of the values associated with
socket.h on at least some systems, Solaris 2.3 (and 2.4), and IRIX 5.2
are the only ones I can test and confirm.

The values associated with  SOCK_STREAM and SOCK_DGRAM have changed.

As such, the defaults for sock_stream set in ftp.pl and chat2.pl and the
initialization of SOCK_STREAM SOCK_DGRAM SOCK_RAW SOCK_RDM SOCK_SEQPACKET
in socket.ph are incorrect.  The most important change is that
SOCK_STREAM is 2 (instead of 1) and SOCK_DGRAM is 1 (instead of 2)

These values need to checked against the values in (/usr/include/sys) socket.h

This was found under perl5.001m
--
Robert M. Shectman
Atmospheric Release Advisory Capability
Lawrence Livermore National Laboratory
PO Box 808   MS L-262
Livermore CA,  94550


(510)423-6714



Fri, 26 Dec 1997 03:00:00 GMT  
 socket.ph, ftp.pl and chat2.pl error found for Solaris and Irix

   It appears that sometime in the last couple of years a change took
   place in the basic assignments of the values associated with
   socket.h on at least some systems, Solaris 2.3 (and 2.4), and IRIX 5.2
   are the only ones I can test and confirm.

Please see the FAQ, specifically question 4.21 for more information about
this.

-spp
--
Stephen P Potter                                Pencom Systems Administration


            Rest of .signature, witty quote, etc under destruction



Sun, 28 Dec 1997 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. chat2.pl, hget.pl and socket.ph problems

2. hget.pl, chat2.pl and socket.ph problems

3. ftp.pl, lchat.pl, socket.ph

4. Chat2.pl, ftp.pl, etc

5. help with ftp.pl/chat2.pl

6. Help: problem with ftp.pl and chat2.pl

7. IBM AIX (SP/2) - CHAT2.PL <- FTP.PL <- perl5.0 Code

8. chat.pl & chat2.pl

9. More fun with chat2.pl and select.pl

10. ANNOUNCE:chat3-a1.pl is chat2.pl + logging facilities

11. ANNOUNCE: Comm.pl, a new expect/chat2.pl pkg, Beta1

12. chat2.pl under Perl5.000 and Solaris 2.3 - BROKEN

 

 
Powered by phpBB® Forum Software