OnClientConnect Event

The MediaServer_OnClientConnect event is fired when a new client connection is established.

Syntax

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

Parameters

datetime

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

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 connected 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.

Remarks

A server can have a limited number of client connections. Using the Administration control amounts to consuming one client connection.

See Also

OnClientDisconnect

© 1996-1998 Microsoft Corporation. All rights reserved.