Video Chat Pro ActiveX Control

InitServer

 

Initialize the server, you must initialize the Video Chat Server Control before called any methods or properties.

Public Function InitServer(
    ByVal iPortNo As Long ,_
    ByVal iTimeOut As Long )


Parameter
iPortNo
the UDP port to listen at.

iTimeOut
the timeout in seconds, when client does not indicate activity during this timeout, it is considered to be disconnected. By default is 300, you should not set this value smaller than 300.
 

No Return value
 
Remark
This property is Read/Write.

Example

   

Visual Basic Syntax
VideoChatServer1.InitServer 1234, 300
VideoChatServer1.UseRandomNumber=true
confID=VideoChatServer1.CreateConference
usreID= VideoChatServer1.AddUser (confID)