vsTASKER 7 User Manual
×
Menu
Index

Sockets

 
Sockets are a simple and easy mechanism to connect the simulation engine to a network and exchange information in real-time.
Several SockItems (represented by a symbol on the diagram) can be used, each of them connected to a real LAN socket (under a given port and a specific protocol), one for sending and one for receiving.
 
For each of them, the data process of the data to send or received is located inside each SockItem, making the development, change and maintenance easier.
Also, during runtime, each of the socket icon will change color according to its state (connecting, connected, cannot connect, sending data, receiving data...) allowing an quick and easy monitoring of what is happening on the network.
 
 
Properties: call the LAN setup window
 
Add Socket: will create a SockItem as an Emitter or Receiver depending on the area created (top for Senders, bottom for Receivers)
 
Select All: select all SockItem symbols (useful for deletion)
 
Reorganize All: tries to arrange all symbol in an ordered manner.
 
Refer to the Tutorial document to learn how to develop your first simulation using LAN sockets.