From:	CRDGW2::CRDGW2::MRGATE::"SMTP::CRVAX.SRI.COM::RELAY-INFO-VAX" 15-JAN-1991 20:36:47.16
To:	MRGATE::"ARISIA::EVERHART"
CC:	
Subj:	DXRN - problems with VMS C compiler

Received:  by crdgw1.ge.com (5.57/GE 1.80)
	 id AA17732; Tue, 15 Jan 91 19:38:44 EST
Received: From UCBVAX.BERKELEY.EDU by CRVAX.SRI.COM with TCP; Tue, 15 JAN 91 10:30:38 PST
Received: by ucbvax.Berkeley.EDU (5.63/1.42)
	id AA01497; Tue, 15 Jan 91 10:21:05 -0800
Received: from USENET by ucbvax.Berkeley.EDU with netnews
	for info-vax@kl.sri.com (info-vax@kl.sri.com)
	(contact usenet@ucbvax.Berkeley.EDU if you have questions)
Date: 15 Jan 91 18:14:51 GMT
From: timbuk!uktriton.cray.com!fields@uunet.uu.net  (Mike Fields)
Organization: Cray Research (UK) Ltd
Subject: DXRN - problems with VMS C compiler
Message-Id: <120253.2542@timbuk.cray.com>
Sender: info-vax-request@kl.sri.com
To: info-vax@kl.sri.com


If anybody is interested here is a simple VMS differences of 
the modifications that I needed to do to get DXRN to work using
the VMS C Compiler. Without this DXRN tries to connect to
an incorrect IP address for the server.

************
CLIENTLIB.C
  287   	char    **ptr;
  288   #ifdef h_addr
******
CLIENTLIB_ORIGINAL.C
  287   #ifdef h_addr
************
************
CLIENTLIB.C
  366   	ptr = (char **)(hp->h_addr);
  367   	
  368   	(void) memcpy((char *) &sin.sin_addr,  *ptr, hp->h_length);
  369   	if (connect(s, (struct sockaddr *) &sin, sizeof(sin)) < 0) {
******
CLIENTLIB_ORIGINAL.C
  363   	(void) memcpy((char *) &sin.sin_addr, hp->h_addr, hp->h_length);
  364   	if (connect(s, (struct sockaddr *) &sin, sizeof(sin)) < 0) {
************

I hope this was of help.

