Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Interrupts & Ports - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

        Listen Command (Net Bios, 11h)

        This command is used to wait for a session to be established.
        The session will be established when another machine or process
        executes a CALL to the name associated with the LISTEN command.
        The NAME field contains the local name under which the session
        will be established. The CALLNAME field contains the name of the
        caller, or an asterisk (*) in the first character to accept a
        call from any name. Session data transfer time-outs must be
        specified in RTO and STO.

        When the LISTEN completes successfully, a session number (from 1
        to 254) is returned in LSN. This number is used when sending or
        receiving session data, or in the HANG UP (session terminate)
        command. If an asterisk (*) is used as the CALLNAME, then the
        caller's name will be returned in CALLNAME upon successful
        completion of the listen.

        More than one session can be established under the same name, or
        same pair of names.

        If a CALL is received for a name for which there is a LISTEN with
        a matching CALLNAME, and there is also a LISTEN for any name
        (asterisk in first character), then the specific LISTEN will be
        completed, regardless of the order in which the LISTENs were
        issued.

See Also: Net Bios, 10h Net Bios, 12h

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