Sockets allow you to connect to other devices to send or receive data. In each project you can have up to 10 simultaneous socket connections active. You can name these connections in the screen bellow. In Kalipso a socket connection can be established in 2 ways. If you want your application to wait for an external connection to arrive from another device, you can use the “Socket Accept” Action. In this case your application is considered has a socket server.
If you want to establish a connection to another device you can use the “Socket Connect” Action to try to connect to a socket server. In this case your application is considered has a socket client.
After a connection is established you can use “Socket Write” to send data and “Socket Read” to receive data. At the end “Socket Close” is used to terminate the connection.
Note: Sockets can also be used in a locally to communicate with other applications on the same device.
Updated: 1/11/2017 4:16 PM