Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » Is it possible to use Core/Rpc in non blocking mode?
Re: Is it possible to use Core/Rpc in non blocking mode? [message #39754 is a reply to message #39751] Tue, 23 April 2013 17:23 Go to previous messageGo to previous message
nlneilson is currently offline  nlneilson
Messages: 644
Registered: January 2010
Location: U.S. California. Mojave &...
Contributor
steffen wrote on Tue, 23 April 2013 02:08

json-rpc server
two connections at a time.

Or am I forced to use a thread for each simultaneous JsonRpcRequest?


Hi Steffen
I didn't know so had to look up what json-rpc was so will not be much help on that.

    method - A String with the name of the method to be invoked.
    params - An Array of objects to be passed as parameters to the defined method.
    id - A value of any type, which is used to match the response with the request that it is replying to.


Servers usually can accept multiple connections in the same thread.
I don't see where another thread would be necessary.

I just send and receive a bunch of characters up to 3000 so far.
Then I have some code for sorting and acting on what was received and when necessary reply.

What are you trying to do that is more complicated than that?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: stl-compatibility
Next Topic: How to read the file using XMLize ???
Goto Forum:
  


Current Time: Sat Jun 07 05:59:57 CEST 2025

Total time taken to generate the page: 0.04527 seconds