|
|
|
|
StreamConnect (Function) In french: FluxConnecte Connects a stream (and the associated control) to a specific address. Remark: This function is equivalent to the Address property. // Specify the name of the caller CONF_Conference1.Identifier = UserName // Connect the Conference control StreamConnect(CONF_Conference1, RecipientAddress) // equivalent to: // CONF_Conference1.Address = RecipientAddress
Syntax
<Result> = StreamConnect(<Conference control> , <Address>)
<Result>: Boolean - True if the connection was established,
- False otherwise. To get more details on the error, use ErrorInfo.
<Conference control>: Control name or character string Name of Conference control to associate with the specified address. <Address>: Character string Receiver address. This address can be:- An IP address in XXX.XXX.XXX.XXX format (125.5.110.100 for example).
- A server name (pop3.serveur.fr for example). This syntax is recommended.
- An empty string (""). In this case, the address of the current computer is used (to simplify the tests of an application).
Remarks Disconnecting a stream When a stream is disconnected (by the caller or the called), the "End of connection" event is automatically run.
Related Examples:
|
Unit examples (WINDEV): The Conference control
[ + ] Using the "Conference" control: - Establish the connection with another user - Communicate (image and sound) with another user via network - Close a connection
|
|
Complete examples (WINDEV): WD Video Conference
[ + ] This example uses the Conference control and presents the use of sockets via an instant messaging. WD Video conference enables you to start a conference (sound + video) with a remote user. Furthermore, with instant messaging, you have the ability to send a file to your contact and to dialog with him.
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|