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]

        Receive Any Command (Net Bios, 16h)

        This command receives data from any session. The NUM field
        specifies the name number of allowable sessions, or 0FFh to
        receive for any session under any name. The BUFADR and BUFLEN
        fields are set to the size and maximum length of the receive data
        buffer. The remote session must issue a SEND or CHAIN SEND
        command. There is no time-out on this command. The local
        session number of a completed receive is returned in LSN.

        RECEIVE ANY commands are completed in the order in which they are
        issued. If received data could be used to complete either a
        RECEIVE or RECEIVE ANY, the RECEIVE is given priority and
        completed.

        The actual size of the received data is returned in BUFLEN. If
        the maximum buffer length was smaller than the length of the
        data, then the buffer is filled to the maximum and RETCODE = 06h
        is returned. The next RECEIVE ANY (or RECEIVE) will be completed
        with the remainder of the data.

        Typically, RECEIVE ANY is used by a process that services
        multiple users. Session termination by the local or remote
        process will cause the next pending RECEIVE ANY to complete with
        RETCODE = 0Ah (session terminated) or 18h (session terminated
        abnormally).

See Also: Net Bios, 14h Net Bios, 15h

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