
Hi Gaëtan,
On Thu, Jan 18, 2018 at 4:56 AM, Gaëtan Carlier gcembed@gmail.com wrote:
Hi, I would like to implement a new command and submit it to the mailing list. The command will have the following format: udpsend <destination/broadcast ip> <destination port> <source port> <text to send>
udpsend 255.255.255.255 4040 0 hello world
If source port is 0, a random port will be used (11000 + (get_timer(0) % 4096))
I'd like to understand the purpose / use-case for this command? Maybe there is a more appropriate way to solve the problem you have instead.
Where do I have to place my code : cmd or net directory ? For me cmd will be the better directory to keep it away from all more complex stuff like DHCP, TFTP, ...
That's probably true. cmd/ would be the appropriate place.
-Joe