The EDL description of the net_client entity and its associated part of the init description are identical to the corresponding descriptions in the net example.
The net_server program will not be started in KasperskyOS, therefore it does not require an EDL description or init descriptions.
EDL description
The net_client entity has a trivial EDL description:
net_client.edl
/* You only have to indicate the name of the net_client entity. */
entity net_client
Init description
In the init description, you need to indicate that the net_client entity and vfs_entity must be started, and a connection must be established between net_client and vfs_entity when the solution is started. The connection will be named VFS. vfs_entity is located in the vfs directory, therefore it is specified as vfs.vfs_entity in the init description. For more details, refer to "Considerations for working with a network".
init.yaml
entities:
- name: net_client
connections:
- target: vfs.vfs_entity
id: VFS
- name: vfs.vfs_entity
Page top