Home Help Center

Can I Simultenously Access an ICE server

alexmalexm Member Eskinder Alex MesfinOrganization: Medtronic, Inc.Project: www.medtronic.com
Hi,
Here is what I am trying to do, each client contacts the server a new process is spawned (Not Thread) by the server when the client done server terminates the process. Is there a way I can manage this usin ICE. How can I pass a client proxy to a new spawned (forked) process.

Comments

  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    Hi,

    There's no currently no easy way to do this with Ice so you'll have to fork/exec the process yourself and figure out a way to pass the proxy to the forked server.

    There's many ways you could this: have the forked server listen on a well-known endpoint and have the client invoke on the forked server to pass its proxy, pass the proxy to the parent and have the parent pass the proxy to the forked process with command line arguments or a pipe.

    Cheers,
    Benoit.
Sign In or Register to comment.