Copyright VirtualSim 2004-2020 - All rights reserved
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.