home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / sockperl.zip / readme.soc < prev    next >
Text File  |  1995-04-03  |  3KB  |  63 lines

  1.  
  2. Perl for os/2 with sockets. (this build also has use of crypt(), fork()
  3. and -D debug options). Built using emx 09a with fix03 applied. This
  4. build passes all the regression tests as the distribution version of
  5. perl.exe. Of course this version won't run under dos at all, presumably 
  6. the sock_ini call is protect-mode only.
  7.  
  8. No changes were made to Kai's sources for perl / os2. The link command 
  9. to build this version is:
  10.  
  11. gcc -o perl os2/perl.def array.o cmd.o cons.o consarg.o doarg.o doio.o \
  12.  dolist.o dump.o eval.o form.o hash.o perl.o perly.o regcomp.o regexec.o \
  13.  stab.o str.o toke.o util.o os2.o suffix.o -llibufc -los2 -lsocket -ltcpip
  14.  
  15. The use of Holger's tcpip.a library has been called a gross and icky
  16. hack. Probably true, but I've nothing like the time to add the *ent()
  17. to the emx distribution, and it works nicely.
  18.  
  19. I've renamed the executable in the .zip because it's not the standard
  20. distribution.
  21.  
  22. libufc.a was built using emx 0.8g from Eric Young's libdes. While some of
  23. the sources are marked for FSF copyleft, I obtained them from an ftp site
  24. restricted to US only access. As such, I will provide no source pointer
  25. to this code. Crypt() is not, to my knowlege, in any way export restricted.
  26. (I'm using crupt() as a hash for establishing session keys for point-to
  27. point encryption over a socket)
  28.  
  29. I've included a couple of working scripts for a client and server. They're
  30. there only to illustrate what methods used in the 'camel book' examples
  31. won't work (yet) under os/2. send, eval_cry.pl establish a des encrypted
  32. socket for running little perls on a server. The .nf versions are done
  33. without using fork(), which wasn't inheriting socket handles when I
  34. first started working on this.
  35.  
  36. In as much as I've made no source changes I feel there are no indicated
  37. copyright implications. (i.e. This executable is derived exactly from
  38. the perl 4.036 distribution with additional sources from Raymond Chen 
  39. and Kai Uwe Rommel). The perl os/2 distribution is available from
  40. 'hobbes.nmsu.edu' (os2/32bit/unix/perl.zip) and 'ftp.cdrom.com'.
  41.  
  42. I've run the entire test battery (using a csh script, as I don't have
  43. MAKE). Aside from pure Unixisms and problems in comparing strings
  44. with '<cr><lf>' on os/2 the only unexplaind error I found was in
  45. op/magic.t, where SIG action "DEFAULT" is supported? The only
  46. other anomaly is that this perl stops creating new sockets after the
  47. 257th. Perhaps this is an os/2 or os/2 tcpip limitation.
  48.  
  49. I have taken reasonable care in testing the resultant binary, but of 
  50. course there is NO WARRANTY. I have tested only a small subset of the
  51. perl or emx support for berkely sockets.
  52.  
  53. Thanks as always to Larry for perl, Kai for the os/2 version, and
  54. Eberhard Mattes for the excellent EMX environment.
  55.  
  56. Forrest Whitcher              fw@world.std.com
  57. Boston Scientific Corp.
  58. Watertown MA 02272            617.972.4289
  59.  
  60.  
  61.  
  62.  
  63.