Help / WLanguage / WLanguage functions / Controls, pages and windows / Stream functions
  • Disconnecting a stream
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Stored procedures
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
<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 ( for example).
  • A server name ( 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).

Disconnecting a stream

When a stream is disconnected (by the caller or the called), the "End of connection" event is automatically run.
Related Examples:
The Conference control 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
WD Video Conference 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.
Component: wd290com.dll
Minimum version required
  • Version 9
This page is also available for…
Click [Add] to post a comment

Last update: 06/22/2023

Send a report | Local help