PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | French EN
  • Disconnecting a stream
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Connects a stream (and the associated control) to a specific address.
Remark: This function is equivalent to ..Address.
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 find out the error details, use ErrorInfo.
<Conference control>: Control name
Name of Conference control to associate with the specified address.
<Address>: Character string (with quotes)
Address of the correspondent. 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 : wd250com.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment