A
Antimon
Hi,
I have a single threaded server application except for async socket
methods.
Anyway, i need to host some remote objects but remoting mechanism
spawns new threads for remote calls. I don't know about .net threading
too much. On the sockets part, i can send a response with a delay, so i
can exchange info with main thread using queues, generate a response on
main thread and send it. But i need to do something to block client if
i try to use remoting same way. Maybe with something like
SynchronizedQueue in java.
Any solutions?
Thanks.
I have a single threaded server application except for async socket
methods.
Anyway, i need to host some remote objects but remoting mechanism
spawns new threads for remote calls. I don't know about .net threading
too much. On the sockets part, i can send a response with a delay, so i
can exchange info with main thread using queues, generate a response on
main thread and send it. But i need to do something to block client if
i try to use remoting same way. Maybe with something like
SynchronizedQueue in java.
Any solutions?
Thanks.