Ref: 07000006
Title: Explanation of NetBIOS Commands
Date: 07/13/88

Copyright 3Com Corporation, 1991.  All rights reserved.

From the December 1987 LAN Magazine

For reference, the following is a list of the most significant
NetBIOS commands as listed in the Technical Reference for the PC
Network by IBM.  To use the session commands, a programmer would
check his table of NetBIOS Names, open a session with another
device or name that is listening, send data packets or SMBs back
and forth and then close the sessions.

If he merely wants to send out a Datagram or broadcast, it is just sent
out over the network.  Although it is much more complex to write a chat
program that allows an interactive dialog between two people on a LAN,
or to write a mail package that provides instant notification of new
mail, NetBIOS provides a means to do it.  By using NetBIOS, the
application will run on the majority of LAN environments without
modification.

GENERAL COMMANDS:
Reset:  Reset local adapter status and clear the session and name
        tables.
Cancel: Cancel certain session type command requests.
Status: Request an adapter's status.

NAME SUPPORT:
Add Name:       Add a 16-character name to the table of names.
Add Group Name: Add a 16-character name to the table of names
                referencing a group.
Delete Name:    Delete a 16-character name from the local table of
                names.

SESSION SUPPORT:
Call:           Opens a session with another named device.
Listen:         Enables a session to be established with any other
                named device.
Hang Up:        Closes the session with another name on the network
                indicated by the local session number.
Send:           Sends data by the session number indicated in the local
                session number table.
Chain Send:     Sends data from multiple local buffers by the session
                number indicated in the local session number table.
Receive:        Receive data from a specified session.
Receive Any:    Receive data from anyone with whom you have a session
                established.
Session Status: Receive status of all active sessions for your name.

DATAGRAM SUPPORT
Send Datagram:              Send a datagram to a unique name or group
                            name for receipt at a local or remote node.
Send Broadcast Datagram:    Send a message to everyone who has a
                            RECEIVE BROADCAST DATAGRAM command
                            outstanding.
Receive Datagram:           Receive a datagram message from any name or
                            anyone on the network directed to you.
Receive Broadcast Datagram: Receive a message from anyone who isues a
                            SEND DATAGRAM command.
