Open xpromache opened 1 year ago
This would be a nice addition. I don't think I have any good name ideas off the top of my head. We can always change it if we think of something good before your idea gets merged in!
I haven't come up with any exciting ideas for names, even something as simple as "cfdp-server-rs" and "cfdp-client-rs" could work.
As discussed in #16, I propose I implement a CFDP example application. The application consists of a server and a command line application client performing operations via the server.
The server will be launched as:
(I would use the clap crate for the command line options and all options would have a short variant as well)
The command above launches a local server (daemon) for the given entity id, copying files to/from the given directory, listening to the given UDP port and with the known remote entities. Later on, if the server has more and more options we can think of a config file.
To control the server (via the local socket), one would use the cfdpc program which has a few sub-commands:
All these would be implemented in a sub-project next to "cfdp-core" and as usual the most difficult part is to find a name for it. @mkolopanis any ideas for a good name?