OnClientDisconnect Event

The MediaServer_OnClientDisconnect event is fired when a client is disconnected from a NetShow Theater server.

Syntax

MediaServer_OnClientDisconnect( datetime, status, clientid, ipaddress, port )

Parameters

datetime

A Date value specifying the GMT when the client was disconnected.

status

A Long value specifying the result passed back to the method that triggered this event.

clientid

A Long value specifying the ID of the disconnected client. The value corresponds to that obtainable from the Id property of a Client object (implementing the IMSrvClient interface).

ipaddress

A String value specifying the client's IP address.

port

An Integer value specifying the client's TCP port.

See Also

OnClientConnect

© 1996-1998 Microsoft Corporation. All rights reserved.