Open dan-42 opened 9 years ago
Thanks, that's right I have no session management. It's really non-pretty asio-spaghetti for the server.hpp part. I think I'll refactor it with a state machine and build up a session object, to be able to multithread the sessions.
What you will still not get is getting it work by requesting from the same host 2 files at the same time, as they use the same udp identifier. I don't think I can force the receive port to be the same between requests.
When making two connections from the same ip-address then the first connection will be terminated