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 Command (Net Bios, 15h)

        This command receives data from the machine or process with which
        a session as been established. The LSN field is set to the
        session number, and BUFADR and BUFLEN are set to the size and
        maximum length of the receive data buffer. The remote session
        must issue a SEND or CHAIN SEND command. If a send is not issued
        by the remote within the time specified earlier in RTO, the
        RECEIVE will complete with a time out error (RETCODE = 05h).
        Time outs do not cause session termination.

        RECEIVE 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 (or RECEIVE ANY) will be completed
        with the remainder of the data.

See Also: Net Bios, 10h Net Bios, 11h Net Bios, 14h Net Bios, 16h

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