Microsoft SDK for Java

DPCaps Class Fields

The DPCaps Class contains the following fields.

flags One or more values of DPCAPS_ type, indicating the properties of the DirectPlay object.
headerLength Size, in bytes, of the header that will be added to player messages by this DirectPlay object. Note that the header size depends on which service provider is in use.
hundredBaud Bandwidth specified in multiples of one hundred bits per second. For example, a value of 24 specifies 2400 baud.
latency Latency estimate by the service provider, in milliseconds. If this value is 0, DirectPlay cannot provide an estimate. Accuracy for some service providers rests on application-to-application testing, taking into consideration the average message size. Latency can differ depending on whether the application is interested in guaranteed or non-guaranteed message delivery.
maxBufferSize Maximum number of bytes that can be sent in a single packet by this service provider. Larger messages will be sent using more than one packet.
maxLocalPlayers Maximum number of local players supported in a session.
maxPlayers Maximum number of local and remote players supported in a session by this DirectPlay object.
maxQueueSize This field is no longer used.
timeOut Service provider's suggested timeout value. By default, DirectPlay will use this timeout value when waiting for replies to messages.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.