CastingWmaConnectedIPGetCount method |
|
Remarks
Obtains the number of IP addresses connected to the WMA network session.
Single connected IP addresses can be obtained through the CastingWmaConnectedIPGetDesc method.
Further information about management of casting sessions can be found inside the How to use the control as a source for streaming servers like SHOUTcast tutorial.
Syntax
[Visual Basic] Public Function CastingWmaConnectedIPGetCount ( nCastingUniqueID as Int32 ) as enumErrorCodes |
[C#] public enumErrorCodes CastingWmaConnectedIPGetCount ( Int32 nCastingUniqueID ); |
[C++] public: enumErrorCodes CastingWmaConnectedIPGetCount ( Int32 nCastingUniqueID ); |
Parameter |
Description |
|
|
nCastingUniqueID |
Unique identifier of the casting session returned by a previous call to CastingCreateFromStreamMixer, CastingCreateFromPlayer, CastingWmaPubPointOpenForStreamMixer, CastingWmaPubPointOpenForPlayer, CastingWmaNetworkOpenForStreamMixer or CastingWmaNetworkOpenForPlayer methods. |
Return value
Value |
Meaning |
|
|
Negative value |
An error occurred (see the LastError property for further error details) |
Value >= 0 |
Number of connected IP addresses |