Indicates that a client disconnected.
Syntax
NSUnicastMgr_OnClientDisconnect( datetime, status, clientid, ipaddress, port )
Parameters
datetime
A Date value indicating the time the event occurred, expressed in Greenwich Mean Time (GMT).
status
A Long value specifying the HRESULT passed back when this event is fired.
clientid
A Long value specifying the client ID.
ipaddress
A String containing the client's IP address.
port
An Integer specifying the TCP port used by the client.
Remarks
This event is called whenever a client (using the NetShow Player or client control) disconnects. To receive notification of this event, the ClientEvents property must first be set to TRUE.
Example
Sub NSUnicastMgr_OnClientDisconnect(datetime, status, clientid, ip, port)
' message box opens when a client disconnects
MsgBox( "client at " & ip " disconnected )
End Sub
See Also
© 1996-1998 Microsoft Corporation. All rights reserved.