From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,2e7cacc0c404d644,start X-Google-Attributes: gidf7344,public X-Google-Thread: fc7fa,2e7cacc0c404d644,start X-Google-Attributes: gidfc7fa,public From: "Carl J. Lambrecht" Subject: Trying to use SYS$ASSIGN... Date: 1995/12/10 Message-ID: #1/1 X-Deja-AN: 121370723 organization: Syracuse University, Syracuse NY, USA x-sender: cjlambre@forbin.syr.edu content-type: TEXT/PLAIN; charset=US-ASCII mime-version: 1.0 newsgroups: comp.os.vms,comp.sys.vms 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.