Previous | Next |
Indicates that a client disconnected.
Syntax
NSUnicastMgr_OnClientDisconnect( DateTime, Status, ClientID, IPAddress, Port )
Parameters
DateTime
A Date value indicating when the event occurred, expressed in Greenwich mean time.
Status
A Long value specifying the HRESULT error code passed back when this event is fired.
ClientID
A Long value specifying the client ID.
IPAddress
A String value containing the IP address of the client.
Port
An Integer value specifying the TCP port used by the client.
Remarks
This event is called whenever a client (using the Windows Media Player control or client control) disconnects. This event is never fired unless the ClientEvents property is set to True.
Example
Sub NSUnicastMgr_OnClientDisconnect(DateTime, Status, ClientID, IPAddress, Port)
' Message box opens when a client disconnects
MsgBox ("Client at " & IPAddress & " disconnected.")
End Sub
See Also
OnClientConnect, OnClientPlay, OnClientStop, OnClientStride
Previous | Next |