Usenet comp.sys.vms (1990-2004)
 help / color / mirror / Atom feed
* Trying to use SYS$ASSIGN...
@ 1995-12-10  5:00 Carl J. Lambrecht
  1995-12-13  5:00 ` Stephen Hoffman
  0 siblings, 1 reply; 3+ messages in thread
From: Carl J. Lambrecht @ 1995-12-10  5:00 UTC (permalink / raw)



Over the course of a client/server project I've been working on, I've 
posted to these two newsgroups with a couple of questions.  I have one 
more, hopefully final, problem to resolve.  The VAX server uses Multinet 
for configuring the different server daemons (FTP, etc.), but I'm having 
problems getting my server process to make a network connection through a 
VMS channel when started by the MultiNet server.  The bit of code which 
appears to be having a problem is the following:

unsigned short gsock_in;
int Status;
static struct {int Size; char *Ptr;} Descr={9,"SYS$INPUT"};

Status = SYS$ASSIGN(&Descr, &gsock_in, 0, 0);
if (!(Status&1)) {
	exit(Status);
}

This bit of code seems to consistently give the error of "no device or 
address".  It doesn't appear to be a problem with the way I am set up in 
Multinet, but I still can't get it to work.  Is there anything I should 
look for in the system logical or symbol tables in order to get this to 
work?  If you have done something of this nature, please get in touch 
with me at either this e-mail address or, preferably: 
	clambrecht@kinesisinc.com 
Thank you in advance!

-Carl Lambrecht
Kinesis Computing, Inc. 



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1995-12-16  5:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-12-10  5:00 Trying to use SYS$ASSIGN Carl J. Lambrecht
1995-12-13  5:00 ` Stephen Hoffman
1995-12-16  5:00   ` Pat Rankin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox