Theater SDK Banner 

Art
[Previous][Next]

OnClientConnect Event

Fired when a new client connection is established.

Syntax

MediaServer_OnClientConnect( DateTime, Status, ClientId, IPAddress, Port )

Parameters

DateTime

A Date value specifying the Greenwich mean time when the client was connected.

Status

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

ClientId

A Long value specifying the ID of the connected client. This value corresponds to that which can be obtained from the Id property of a Client object (which implements the IMSrvClient interface).

IPAddress

A String value specifying the IP address of the client.

Port

An Integer value specifying the Transmission Control Protocol (TCP) port of the client.

Remarks

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

See Also

OnClientDisconnect

[Previous][Next]



© 1996-1998 Microsoft Corporation. All rights reserved