Re: [Linux-decnet-user] nontransparent task-to-task operations
Brought to you by:
chrissie_c,
ph3-der-loewe
|
From: Chrissie C. <chr...@go...> - 2009-05-15 07:34:47
|
Mike U. wrote: > Does DECnet for Linux support nontransparent task-to-task operations? > > I've just started investigating DECnet for Linux but I suspect the > answer is no. > I understand that nontransparent communication in OpenVMS uses System > Services to > create a mailbox, assign a channel, and establish a logical link to > exchange messages. > > So, what I'm really asking is - does DECnet for Linux support OpenVMS > System Services > like $CREMBX, $ASSIGN, $GETDVI and $QIO/$QIOW and $READEF? > Yes, and no :-) Yes, you can do non-transparent task-to-task programming from Linux to VMS (or Linux to Linux if you want). No, Linux does not support any VMS system services. What you need to do is use the BSD socket APIs to set up the connection to the remote end and send/receive data. So the connection is made to the nodeu with connect info in the sockaddr "0=<name>" or "<object-num>=", and then noral read and write and select calls will send and eliver data. Have a look at the source for dntask.c, that might help. Chrissie |