18th October 01:59
Inter process communication
This is a doubt regarding the implementation of the following
I have a server running on one Windows Mobile 5.0 device. In another
device we would be running the client. Now at the client end, we have
a background process(Service) which will be constantly asking the
server for updates. If the response is positive , we need to launch
the main application from the service. Now the problem is, we have
already established one connection(socket) with the server from the
background service, We need to pass the same connected socket details
to the main application and further continue with the processing on
For this we tried using message queues for IPC. we passed the
socket value from one process to another through message queues but
sending fails in the second application.
Now since the socket scope is defined in the first process space,
it is possible we wont be able to use it in the second process.
Can anybody guide us as to what approach should we use? or whether
we are on the right track?
Waiting for reply..
Thanks & Regards