Closed YuZhe-CN closed 5 months ago
Can you give some context of what you're trying to do overall without the implementation specifics?
Well, I want to implement a server that is awaiting the connections of drones, an unknown number of drones. This server is listening on one port. The main function of the server is to give orders like go to the point (x, y) or follow a predefined route and meanwhile, the drones will transfer images or videos to another server that will process all the data. This second server's IP address and Port information is passed to the drone when it connects to the first server.
To sum up, there will be two servers, one that only gives orders and missions to the drones and check their states. And another that will process the photos.
It sounds like to me that you need to:
It would basically be some sort of discovery mechanism on UDP.
You could read this to learn how zeromq discovery does it: https://zguide.zeromq.org/docs/chapter8/
I'm going to close this as this is clearly just a question and not a MAVSDK issue as such.
Thank you
Hi support,
I'm trying to write a server that accepts multiple connections from one UDP port. My idea is to let a thread always waiting for the connections. But, I don't know if it is possible.
Thank you