$#K SNETCAPS

The SNETCAPS structure contains capabilities for a network provider or a player.

typedef struct _SNETCAPS {
	DWORD		size;
	DWORD		flags;
	DWORD		maxmessagesize;
	DWORD		maxqueuesize;
	DWORD		maxplayers;
	DWORD		bytessec;
	DWORD		latencyms;
	DWORD		defaultturnssec;
	DWORD		defaultturnsintransit;
} SNETCAPS, *SNETCAPSPTR;

Members

size
The size of the structure, in bytes.  Must be filled in by the application.

flags
Network capability flags.  No flags are currently defined.

maxmessagesize
The maximum size, in bytes, of a message or turn that can be sent using this network provider.

maxqueuesize
The maximum size of the outgoing message queue.  This field is only meaningful if the network provider makes use of Microsoft DirectPlay.

maxplayers
The maximum number of players supported by this network provider.

bytessec
The expected bandwidth of the communications medium, expressed in bytes per second.

latencyms
The expected latency of the communications medium, expressed as the number of milliseconds for a round-trip transmission.

defaultturnssec
The recommended number of turns per second for this network provider.

defaultturnsintransit
The recommended number of turns that the application should maintain in transit when using this network provider.