Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Book 4-Appendices - <b>nnetgetmsg()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NNETGETMSG()
 Reads the broadcast buffer on a file server
------------------------------------------------------------------------------
 Syntax

     NNETGETMSG([<cServer>|<nConId>]) --> cMessage

     Netware: 2.2 and 3.11

 Arguments

     <cServer>  Designates the name of the file server for which the
     message buffer is read.  Your workstation must be attached to <cServer>.

     <nConId>  Designates the connection ID of your workstation on
     <cServer>.

 Returns

     NNETGETMSG() returns a character string that contains the broadcast
     message of the specified file server.  If there is no message in the
     broadcast buffer, the function returns a null string.

 Description

     NOVELL NET GET BROADCAST MESSAGE
     If the receiving of broadcast messages is suppressed (for example, with
     the Novell utility CASTOFF or the function NNETBRDCST()), the file
     server stores the first message in a buffer.  This buffer can be read
     with NNETBRDCST().  Reading the server buffer causes its deletion.  With
     the parameters <cServer> or <nConId>, the buffer of any attached server
     can be read.  The connection ID of a server is returned by NNETATTACH()
     or NNETLOGIN().

 Example

     Read the broadcast buffer of the default server, and display the
     message:

     cMsg=NNETGETMSG()
     IF .NOT. EMPTY(cMsg)
     ? cMsg
     ENDIF

See Also: NNETBRDCST()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson