Category : Files from Magazines
Archive   : MAY91.ZIP
Filename : 2N05033B

 
Output of file : 2N05033B contained in archive : MAY91.ZIP
/*
* File: NetBIOS.H
* Purpose: Contains definitions and declarations for
* NetBIOS communications
*/

#ifndef STANDARD
#include "standard.h"
#endif

/**
NetBIOS Command Block
**/
typedef struct NetbiosCmdBlk {
BYTE command; /* command code */
BYTE status; /* return status*/
BYTE localSession; /* session # */
BYTE nameNumber; /* name number */
FPTR buffer; /* data buffer */
WORD length; /* buffer size */
char callName[16]; /* remote name */
char name[16]; /* local name */
BYTE receiveTimeOut; /* for NB_RECV */
BYTE sendTimeOut; /* for NB_SEND */
void (interrupt far *post)();
BYTE lanAdapter; /* adapter # */
BYTE commandDone; /* finish flag */
BYTE reserved[4];
} NCB;


/**
NetBIOS Command Codes
**/
#define NB_ADDNAME 0x30 /* add unique name */
#define NB_DELNAME 0x31 /* delete name */
#define NB_CALL 0x10 /* request session */
#define NB_LISTEN 0x11 /* wait for call */
#define NB_HANGUP 0x12 /* end session */
#define NB_SEND 0x14 /* session send */
#define NB_RECV 0x15 /* session receive */




  3 Responses to “Category : Files from Magazines
Archive   : MAY91.ZIP
Filename : 2N05033B

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/