edubkendo
9/10/2013 - 6:26 PM

gistfile1.txt

ah, all he says is 

" This script has a role hiding a complexity about server/client model and executes server on 
demand automatically by using fork(2) and setsid(2) in UNIX-like systems. So there is no need 
to care about server/client model for users." 

and 

"bin/rsense is wrapper frontend script which provides us a way to operate RSense transparency
 in server/client model. When bin/rsense is executed, bin/rsense tries to execute a daemon 
server if it doesn't live by forking and executing primitive frontend. 
In a time after forking, it will create an unix domain socket to communicates with a frontend.
 After executing the daemon, bin/rsense tries to open the unix domain socket and sends a given
 command from a terminal."