ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / Stream functions
  • Disconnecting a stream
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Connects a stream (and the associated control) to a specific address.
Note: This function is identical 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.
Component: wd300com.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help