The 'csharp' library and target have been deprecated in version 0.13.0, and removed in version 0.14.0, with the indication that the 'netstd' target is its replacement.
However, the netstd target is missing some features that were present in the 'csharp' target, which can make the migration difficult or impossible.
One such use case is when a server sends a sequence of replies for a single command call by a client, e.g. to provide a stream of live data or progress updates without constant polling from the client.
Here is a minimal example, where a device regularly sends information about its firmware upgrade process, to provide a status display on the controlling client, and to indicate when the device can be rebooted (on the new firmware).
Here, the device (server) sends multiple replies, all of type `upgrade_progress`, until the operation ends (for whatever reason).
On the PC (client) side, depending on the client software, we use either the 'csharp' or 'cpp' targets, relying on the public client.send_command_name and client.recv_command_name methods which are generated alongside client.command_name, allowing an easy handling of this kind of process:
Unfortunately, the 'netstd' target does not generate these methods resulting in an incomplete replacement of the 'csharp' target.
multi-recv.7z contains the complete client for the described interface.