Archive-Date: Mon, 02 Jun 1997 14:32:46 +0100
Sender: owner-socketshr@ifn.ing.tu-bs.de
Date: Mon, 02 Jun 1997 13:32:08 BST
From: Andy Harper <A.HARPER@kcl.ac.uk>
Reply-To: Andy Harper <A.HARPER@kcl.ac.uk>
To: SOCKETSHR@IFN.ING.TU-BS.DE
CC: A.HARPER@kcl.ac.uk
Message-ID: <009B52E1.D4DBF488.80@alder.cc.kcl.ac.uk>
Subject: Minor updates to socketshr 0.9d

Those of you using the VMS version of the LYNX browser with SOCKETSHR 0.9D and
NETLIB 2 may have discovered that the ftp function does not work. This is
because the functions getsockname and getpeername within SOCKETSHR make
incorrect calls to the NETLIB functions. This results in zeroes being returned
for part of the local IP address. Since ftp sends this IP address to the remote
end, the remote server ends up sending a file back to a non-existent address.

I've made certain changes to the SOCKETSHR 0.9D source which fixes this problem
(thanks to Matt Madison for spotting the incorrect calls) and these are
available from my servers to anyone who may want them.

   http://alder.cc.kcl.ac.uk/fileserv/zip/socketshr_src_09d-1.zip
   ftp://ftp2.kcl.ac.uk/zip/socketshr_src_09d-1.zip
   mailto:vmsserv@kcl.ac.uk

If using MAIL, simply put the command SEND SOCKETSHR.PACKAGE as the only line
in the body of the message. It will be returned in 11 VMS_SHARE'd parts.
Executables are not included, you will need VAXC or DEC C

Briefly, the changes are:
  *  Now builds properly on VAX/ALPHA with VAX C or DEC C
  *  getpeername and getsockname functions now return the correct addresses
     In particular, this makes the SOCKETSHR build of the LYNX browser work
     with ftp protocols.

Please note, that these enhancements are entirely unofficial. The original
author, Eckhart Meyer, appears to be no longer supporting the product but the
original code is still his. I've added these mods purely to make things work on
my own systems.

Regards,

Andy Harper
Kings College London
================================================================================
Archive-Date: Tue, 03 Jun 1997 19:14:42 +0100
Sender: owner-socketshr@ifn.ing.tu-bs.de
Date: Tue, 03 Jun 1997 18:14:36 BST
From: Andy Harper <A.HARPER@kcl.ac.uk>
Reply-To: Andy Harper <A.HARPER@kcl.ac.uk>
To: SOCKETSHR@IFN.ING.TU-BS.DE, INFO-MADGOAT@MADGOAT.COM, LYNX-DEV@SIG.NET
Message-ID: <009B53D2.750A79C2.164@alder.cc.kcl.ac.uk>
Subject: SOCKETSHR update 2

Following yestrdays'a announcmeent of some SOCKETSHR bug fixes (primarily to
make FTP in LYNX for VMS work), some other bugs were noted to me which have
been fixed in a second update.

Briefly, the changes from -1 to -2 are:
   * Fixed up the TYPES.H file so that it works with VAX C
   * Fixed up the build procedure so that selection of the system architecture
     works on older version of VMS that dont have the f$getsyi("ARCH_NAME")
     function.
   * Selection of VAX C or DEC C is automatic based on the presence of the
     compiler on the system. This update also looks at the definition of the
     DECC$CC_DEFAULT logical name used to select the compiler when both are
     installed.

  [ If your previous .EXE from -1 compiled and linked OK, you do NOT need this
    update as there are no functional source code changes].


These are available from my servers to anyone who may want them.

   http://alder.cc.kcl.ac.uk/fileserv/zip/socketshr_src_09d-2.zip
   ftp://ftp2.kcl.ac.uk/zip/socketshr_src_09d-2.zip
   mailto:vmsserv@kcl.ac.uk

If using MAIL, simply put the command SEND SOCKETSHR.PACKAGE as the only line
in the body of the message. It will be returned in 11 VMS_SHARE'd parts.
Executables are not included, you will need VAXC or DEC C

Please note, that these enhancements are entirely unofficial. The original
author, Eckhart Meyer, appears to be no longer supporting the product but the
original code is still his. I've added these mods purely to make things work on
my own systems.

Regards,

Andy Harper
Kings College London
