Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Create AF_LAT socket?

0 views
Skip to first unread message

Fredrik Blomstedt

unread,
Apr 30, 2002, 4:40:18 AM4/30/02
to
Hi!

How to create a LAT socket and address it?

For creating the socket, should it be something like :
lats = socket(PF_LAT,STREAM,AF_LAT);
or?

Were can I get some information about this? How to
address a LAT-socket with connect, bind, read, write?

I need information about the most common socket commands
like : socket, setsockopt, bind, connect, read and send - for
LAT usage...

Please...

Thanks!

Greetings Fredrik.


Ruslan R. Laishev

unread,
Apr 30, 2002, 7:24:36 AM4/30/02
to
Hi !
under OpenVMS ?
Have a look to " Guide to I/O User's Reference","5.4.4 LAT Port Driver QIO
Interface".

--
Cheers,
+OpenVMS [Sys|Net] HardWorker .......................................+
Russia,Delta Telecom Inc, Cel: +7 (901) 971-3222
191119,St.Petersburg,Transportny per. 3 116-3222
+http://starlet.deltatel.ru ................. SysMan rides HailStorm +

David J. Dachtera

unread,
Apr 30, 2002, 10:58:42 PM4/30/02
to

Use LATCP to create to create a device ("port"), then open, read, write
and close like any other device.

...or did I miss your point?

--
David J. Dachtera
dba DJE Systems
http://www.djesys.com/

Unofficial Affordable OpenVMS Home Page:
http://www.djesys.com/vms/soho/

Fredrik Blomstedt

unread,
May 2, 2002, 3:43:12 AM5/2/02
to
Sorry...
...under OpenVMS.

Aren't the LAT protocol implemented for
sockets? Maybe the socket functionality
were designed to support LAT in the future?

Is the QIO Interface the 'only' way to access
LAT driver?

Someone who have a sample C source that
are using LAT?

Thanks!

Greetings Fredrik.


"Fredrik Blomstedt" <fredrik....@bnearit.se> skrev i meddelandet
news:3cce5872$1...@news.wineasy.se...

Jan-Erik Söderholm

unread,
May 2, 2002, 4:23:17 AM5/2/02
to
I thought one just did a MC LATCP CREATE PORT to define
a "LAT device" (LTAnnnn device), and then used some
normal methods to open/read/write/whetever to/from it.

Maybe if you need some of the more fancy features of
the QIO system calls, you might need to go that way.

Jan-Erik Söderholm.

Bob Koehler

unread,
May 2, 2002, 9:21:26 AM5/2/02
to
In article <3cd0ee10$1...@news.wineasy.se>, "Fredrik Blomstedt" <fredrik....@bnearit.se> writes:
> Sorry...
> ...under OpenVMS.
>
> Aren't the LAT protocol implemented for
> sockets? Maybe the socket functionality
> were designed to support LAT in the future?

Under Ultrix, and I assume, Tru64 LAT and DECnet Phase IV were
implemented via the socket concept, something UNIX programmers
were already familiar with, and failry easy to reach from C based
languages. (Anybody ever to to call socket() from a UNIX f77?)

Under VMS, programmers are more familiar with $QIO, something
failry easy to reach from any language.

0 new messages