Introduction to Advanced Server for UNIX Shared resources
Product Manual U7613-J-Z815-6-76
© Siemens Nixdorf Informationssysteme AG 1995 Pfad: D:\O7613e6\u7613e.k02
2.2.6.2 Mailslots
Mailslots are unidirectional communication channels. They are cr eated by an application
process on the server or by a client process on the client. In contrast to LM named pipes,
several processes can write to the same mailslot simultaneously but only the process that
created the mailslot can read from it.
Example
A reading process (on the server server1) creates a mailslot with the name ms. This program
waits for messages for the mailslot. The writing program sends a message to the network
name of the mailslot //server1/mailslot/ms.
The developer implements this in the program sources for client processes u sing the API
functions, in compliance with MS-DOS and OS/2 naming conventions:
In the reading program using DosMakeMailslot(\\\\mailslot\\ms, ..) and in the writing program
using DosWriteMailslot(\\\\server1\\mailslot\\ms, ,..).
The following calls are used in the processes on the server:
In the reading program using DosMakeMailslot(//mailslot/ms, ..) and in the writing program
using DosWriteMailslot(//server1/mailslot/ms, ,..).
2.2.7 Using the UNIX operating system from the PC
You can execute UNIX commands from the PC over the netrun service. For further infor-
mation, please consult “Chapter 5 - Enhanced Reference” in the manual “User's Guide for
MS-DOS Clients”.