i am writing client server application using gsoap lib. the problem is that a have a heavy process function in my server.i want to when special client call this function, the server send message for this special client that "your answer is ready" when this client answer is ready. and its possible that multiple client call this function in same time. is there any tool like asynchronAnswer in qt? and if not how can i handle it with qt or gsoap tools? whats the true architect of handle this problems? using multi thread in client calling and wait for response in other thread or exactly call client by its ip in server or something better? thanks,
qt asynchron clients response gsoap
275 Views Asked by Hamed Danandeh At
1
There are 1 best solutions below
Related Questions in QT
- qt c++ fonction converting adress to coordinates (longitude, latitude)
- Qml table and chart using python
- Qt: running callback in the main thread from the worker thread
- i have installed qt version 6.0.3 and this error QMYSQL driver not loaded displaying again and again
- Frameless Qt + WinAPI maximized window size is bigger than the availableGeometry()
- new window with c++ qt
- How to get scaling from transformation matrix
- How to build just Qt core libraries from Qt sources
- doxyqml not documenting qml files properly
- Incorrect assignment from a QStringList to a char * array
- How to make QT Chart size larger than widget size?
- Queued async operations with QtConcurrent interfere QImage from freed
- Questions about qt5 dynamic link library
- how to document QML files inside C++ project?
- How do I keep my screen contents centered and also have a scrollbar in QT?
Related Questions in ASYNCHRONOUS
- Callback and Microtask Queue of Java Script
- Occasional crash at NSURLSessionDataTask dataTaskWithRequest:completionHandler:
- Musical chairs: How can an asynchronous task cancel a synchronous one in c#?
- Asynchronously add to queue, synchronously process it
- Sending asynchronous requests without a pre-defined task list
- Value of a variable remains unaltered when assigned during a loop
- How to efficiently test some HTTP proxies for accessing a specific domain?
- How do you update Celery Task State/Status to see it in Flower?
- Why use tasks and async await in C# inline?
- NEXTJS14 DRIZZLE : Async issue when trying to post data from component into DB
- Blocking wait on future OUTSIDE of async functions
- save to csv simultaneously opcua datachange notification
- How can I load data from secrets-manager synchronously in TypeScript
- How to avoid timeout of API before ending?
- Conditional Synchronous Import in JavaScript, to export a simple object and not promise, possible?
Related Questions in SOAP
- How can I read the header of request to webserver
- Apache CXF is unable to handle duplicate localnames
- Using SOAP with WSDL in python with the suds-py3 library: Why doesn't it show me anything when I use the following code?
- How can I call a SOAP webserver method in Vue.js?
- Avoid soap fault response (org.apache.cxf)
- Python Zeep XML - 0 float value changes type shape
- Migrate ASMX web method to WCF which accepts string array
- In XSD do you have to import the standard schema in order to use it?
- Problem: Authentication. Project: C++ Onvif manager Deltaco camera
- java.net.ConnectException: Connection timed out: no further information Java to SOAP
- Looking for an API or approach for range based parameter flight pricing using SabreCommandLLSRS
- After upgrading to JDK 11 my SOAP response is different
- Correct way to make a non-blocking delay in Spring WS (SOAP)
- android.os.NetworkOnMainThreadException even using an Aysnc task
- How to send multipart/mime SOAP request
Related Questions in RESPONSE
- Not getting Live data from Aviationstack api
- Parse the API response into desired type using axios or any other helpful methods in JavaScript/React.js
- rasa not responding when setting the value of session_persistence: true using socket
- i have intergrated daraja api with by booking app coded in java but in payments page it toasts an error message Error:Failed to initiate payment
- why does _doc appear after I use map in result mongoose
- Flask how can I use after_request to print out all responses and not break swagger-ui?
- response wrapper service layer vs controller
- Replacing google translate API with systran API
- Why response body not compressed when use webtestclient?
- ClassSerializer not working in NestJs with @Res decorator
- Encryption of Request and Decryption of Response
- HTTP server logging two times for a single request
- FastAPI - How to specify filename when downloading bytes content using Response class?
- Server sent events in pedestal returns empty response
- Do line breaks or spaces affect saml assertion validation?
Related Questions in CLIENTS
- Use a Dictionary between different thread in VB.NET
- How do I deploy a project to multiple clients?
- Site gets 1 heavy use day per year - how do i tune for it
- Does node.js is creating an instance of a server for each client?
- Android Socket is showing "Connected" when a Client Request connection but "cant send messages"
- Java Server having many clients connect without bottlenecking
- signalr .net client reconnect error
- A javascript function that sends infos to clients?
- Sockets in .NET - Getting started with a multithreaded server
- Can single CPU core work with multiple clients using Distributed Tensorflow?
- In Ansible, how can I fetch file from multiple nodes and store this in one file centralized?
- C language - Sockets - A chat between two clients (using one server as middle man)
- How do i receive messages periodically from Signalr to all Clients automatically ,without client input?
- Python Multiplexed server using select.select won't accept clients simulaneously
- Looking for PubSub messaging for end-clients on AWS
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You can try to use QWebSocket for this task. You have connected client list, if client send a request for "heavy process function", you are puting in thread pool, and sending replay to the specific client after calculations are done. In code it will be something like this:
server.h
server.cpp
heavytask.h
heavytask.cpp
and main.cpp
Hope it'll be useful. (Not tasted at all, but compiling)