Re: Need help on client callback

Jules Colding <[email protected]> Thu, 10 Jan 2008 14:19:50 +0100
Newsgroups gmane.comp.gnome.orbit.general
Message-ID <[email protected]>
On Mon, 2008-01-07 at 23:13 -0800, Mike Nathan wrote:
> Dear Mailinglist! 
> 
> I am a new orbit newbie. :)  
> 
> I'm now confusing  about how to implement callback functions in orbit.
> 
> How does the server find the right client?

Just pass an object reference to the server. You can e.g. use
object_to_string() to get a stringified IOR. This can be put into a file
which the server reads and use in string_to_object().

HTH,
  jules

 
> 
> Some example code(the client.c and the server.c) will be the BEST.
> 
> thank you very much!!!