Category : Network Files
Archive   : SAP.ZIP
Filename : COMM.H

 
Output of file : COMM.H contained in archive : SAP.ZIP
/*****************************************************************************
*
* Program Name: COMMUNICATION_DEFINITIONS
*
* Filename: comm.h
*
* Date Created: March 22, 1988
*
* Version: 1.0
*
* Programmers: Bryan Sparks
*
* Comments: This file defines (typedef) structures needed to perform
* IPX and SAP (SPX definitions are included also).
*
****************************************************************************/
struct IPXAddress
{
unsigned char Network[4]; /* high-low */
unsigned char Node[6]; /* high-low */
unsigned int Socket; /* high-low */
};

typedef struct IPXPacketStructure
{
unsigned int PacketCheckSum; /* high-low */
unsigned int PacketLength; /* high-low */
unsigned char PacketTransportControl;
unsigned char PacketType;
struct IPXAddress Destination;
struct IPXAddress Source;
} IPXPacket;

typedef struct SPXPacketStructure
{
unsigned int PacketCheckSum; /* high-low */
unsigned int PacketLength; /* high-low */
unsigned char PacketTransportControl;
unsigned char PacketType;
struct IPXAddress Destination;
struct IPXAddress Source;
unsigned char ConnectionControl;
unsigned char DatastreamType;
unsigned int SourceConnectionID; /* high-low */
unsigned int DestinationConnectionID; /* high-low */
unsigned int SequenceNumber; /* high-low */
unsigned int AcknowledgeNumber; /* high-low */
unsigned int AllocationNumber; /* high-low */
} SPXPacket;

struct ECBFragment
{
char far *Address;
unsigned int Size; /* low-high */
};

typedef struct ECBStructure
{
unsigned int Link[2];
char far *ESRAddress; /* offset-segment */
unsigned char InUseFlag;
unsigned char CompletionCode;
unsigned int ECBSocket; /* high-low */
unsigned char IPXWorkspace[4];
unsigned char DriverWorkspace[12];
unsigned char ImmediateAddress[6]; /* high-low */
unsigned int FragmentCount; /* low-high */
struct ECBFragment FragmentDescriptor[2];
} ECB;

typedef struct SAPDataStructure
{
unsigned int InfoType;
unsigned int ServerType;
unsigned char ServerName[48];
struct IPXAddress Address;
unsigned int IntermediateNetworks;
} SAPData;


  3 Responses to “Category : Network Files
Archive   : SAP.ZIP
Filename : COMM.H

  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/