PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
Versions 15 and later
Android Most of these functions are now available for the Android applications.
New in version 15
Android Most of these functions are now available for the Android applications.
Android Most of these functions are now available for the Android applications.
Versions 18 and later
Android Widget Most of these functions are now available in Android Widget mode.
New in version 18
Android Widget Most of these functions are now available in Android Widget mode.
Android Widget Most of these functions are now available in Android Widget mode.
Versions 17 and later
iPhone/iPad Most of these functions are now available for the iPhone/iPad applications.
Universal Windows 10 App Most of these functions are now available for the Windows Phone applications.
New in version 17
iPhone/iPad Most of these functions are now available for the iPhone/iPad applications.
Universal Windows 10 App Most of these functions are now available for the Windows Phone applications.
iPhone/iPad Most of these functions are now available for the iPhone/iPad applications.
Universal Windows 10 App Most of these functions are now available for the Windows Phone applications.
Versions 22 and later
WEBDEV - Browser code Most of these functions are now available in browser code.
New in version 22
WEBDEV - Browser code Most of these functions are now available in browser code.
WEBDEV - Browser code Most of these functions are now available in browser code.
Versions 23 and later
Universal Windows 10 App Most of these functions are now available in Universal Windows 10 App mode.
New in version 23
Universal Windows 10 App Most of these functions are now available in Universal Windows 10 App mode.
Universal Windows 10 App Most of these functions are now available in Universal Windows 10 App mode.
The following functions are used to manage the sockets:
SocketClientInfoAllows the server to get information about the current client socket.
SocketConnectConnects a client computer to a given socket.
SocketConnectBluetoothConnects a client computer to a specific Bluetooth socket.
SocketConnectInfraredConnects a client computer to a given socket via the infrared port.
SocketConnectSSLUsed to establish a secure connection to an SSL server.
SocketCreateBluetoothCreates a socket using a Bluetooth device.
SocketCreateInfraredCreates a socket that is using the infrared port.
SocketReadRetrieves a message sent by another socket.
SocketWaitForConnectionRun on the server, this function is used to wait for a connection request coming from the client sockets.
Related Examples:
Sending a fax Unit examples (WINDEV): Sending a fax
[ + ] Sending a fax with WINDEV. The fax can be sent via a fax server or via a modem properly installed and configured on the user computer.
WD Live Messaging Complete examples (WINDEV): WD Live Messaging
[ + ] This example presents the "Socket" functions of WINDEV.
The following topics are presented in this example:
1/ How to connect to a socket
2/ How to create a socket
Summary of the example supplied with WINDEV:
This example present the different functions for socket management supplied with WINDEV. To use this example, a list of contacts must be entered in your address book. The contacts must be identified by a name and the IP address of their computer. When the application is started, the program searches for the accessible contacts (which means the ones who have started this application on their computer). When you double-click a "connected" contact, a discussion window is opened, giving you the ability to communicate with the contact
WD Video surveillance Complete examples (WINDEV): WD Video surveillance
[ + ] This example explains how to broadcast images coming from a Web camera via a network (Intranet, Internet).
The following topics are presented in this example:
1/ Web Camera control
2/ Using the Socket functions
3/ Using the Thread function
4/ Detecting movements
Summary of the example supplied with WINDEV:
This example is used to broadcast the images captured by a Web Camera via a network (Intranet, Internet)
This application groups the "Diffusion server" part and the "Monitor" part.
It allows you to:
- broadcast the images of the Web Camera
- select a "monitor"
- analyze the image to detect a movement. In this case, the relevant recipients (or "monitors") can be notified
- connect up to 8 different Web Cameras and enable the detection of movements
WD Using sockets Training (WINDEV): WD Using sockets
[ + ] This example presents the use of the "Socket" functions of WINDEV in Client/Server.
The following topics are presented in this example:
1/ How to connect to a socket
2/ How to accept a request for connection
3/ How to write or read on a socket
Summary of the example supplied with WINDEV:
This example presents the different functions for socket management supplied with WINDEV. To use this example, a first instance of the example must be started in "server" mode. Then, by specifying the name of the computer that will be used as server and a nickname, you can connect to this application in "client" mode. You now have the ability to send messages to all the connected users. In this example, a thread and a socket are associated with each connection.
WD Trace Socket Sample components (WINDEV): WD Trace Socket
[ + ] The purpose of this example is to trace everything that occurs on a communication via socket, on a specific address, on a specific port. This example allows you to understand the principle of dialog via socket between two applications.
Therefore, in the applications that dialog via socket, even if no trace option as implemented by the developers, you will have he ability to view all the exchanges performed on the socket.
This example also enables you to understand the operating mode of the network protocols based on the sockets: POP3, SMTP, FTP, HTTP, and so on.
Note for the users who are experienced in network communication:
This example does not allow you to trace the UDP packages (only the TCP communications can be traced).
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment