ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Stream functions
  • Disconnecting a stream
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Connects a stream (and the associated control) to a specific address.
Remark: This function is equivalent to the Address property.
Example
// 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:
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…
Comments
Click [Add] to post a comment

Last update: 06/22/2023

Send a report | Local help