Felipe wrote:Do you think this is a reasonably approach?
But, really, to give you a proper advice, one would need more details (and time).
Felipe wrote:I have one last question. I've understood that the TCPServer framework enqueue connections before they are picked by connection threads (which create the TCPConnection object and call start()). Is this queue guaranties that the connections are queued by the order they arrive?
Felipe wrote:And, if so, is there any easy way to get this order?
Depends what you mean by "easy". There is no way without modifying the library and the only option Notification queue offers (in addition to simple FIFO enqueuing) is urgent notification enqueuing (which adds notification to the front of the queue). See Poco::Net::TCPServerDispatcher and Poco::NotificationQueue for details.
Users browsing this forum: No registered users and 5 guests