nanogui: what is the difference between srvfunc.c and client.c?


Previous by date: 31 May 2005 11:22:57 +0100 Re: what is the difference between srvfunc.c and client.c?, Udaya Bhaskar
Next by date: 31 May 2005 11:22:57 +0100 using freetype2 with fblin4, Markus Wekenmann
Previous in thread: 31 May 2005 11:22:57 +0100 Re: what is the difference between srvfunc.c and client.c?, Udaya Bhaskar
Next in thread: 31 May 2005 11:22:57 +0100 Re: what is the difference between srvfunc.c and client.c?, Greg Haerr

Subject: Re: [nanogui] what is the difference between srvfunc.c and client.c?
From: Alex Holden ####@####.####
Date: 31 May 2005 11:22:57 +0100
Message-Id: <F5CD60E9-D7B2-4A01-A50D-0B6697AFD2E3@linuxhacker.org>

On 31 May 2005, at 04:58, Alain Volmat wrote:
> You will see that depening on LINK_APP_INTO_SERVER (defined in  
> config file)
> either srvfunc.c or client.c will get compiled.
> If you set LINK_APP_INTO_SERVER=y, then srvfunc.c will be used,  
> otherwise
> client.c will be used.

client.c/srvnet.c form an RPC system. When LINK_APP_INTO_SERVER=n the  
functions in client.c are called by the client, but all they do is to  
pack up the function arguments and transmit a message to the server  
which causes the corresponding wrapper function in srvnet.c to be  
called which in turn unpacks the arguments and calls the srvfunc.c  
function as if the client was running inside the server. IIRC it was  
actually possible to have multiple clients running both inside the  
server and outside the server at the same time with microwin-aph  
(look at the NANOWM_LINKED_IN and INTERNAL_NXEYES_DEMO stuff for an  
example of running multiple clients inside the server).

-- 
------------ Alex Holden - http://www.alexholden.net/ ------------
If it doesn't work, you're not hitting it with a big enough hammer


Previous by date: 31 May 2005 11:22:57 +0100 Re: what is the difference between srvfunc.c and client.c?, Udaya Bhaskar
Next by date: 31 May 2005 11:22:57 +0100 using freetype2 with fblin4, Markus Wekenmann
Previous in thread: 31 May 2005 11:22:57 +0100 Re: what is the difference between srvfunc.c and client.c?, Udaya Bhaskar
Next in thread: 31 May 2005 11:22:57 +0100 Re: what is the difference between srvfunc.c and client.c?, Greg Haerr


Powered by ezmlm-browse 0.20.