Re: [DNG] Unix Socket class: how to send arguments to the suid of simple-netaid

2019-09-13 Thread aitor_czr
Hi, On 12/9/19 6:49, aitor_czr wrote: Maybe you are wondering about the reaseon why the server of the socket should be multithreaded. Well... Download the following example: http://gnuinos.org/socket/ip/ The code of the server has been replaced by: serverSocket( { FILE_DESCRIPTOR, "0",

Re: [DNG] Unix Socket class: how to send arguments to the suid of simple-netaid

2019-09-12 Thread aitor_czr
Hi again, On 10/9/19 11:45, aitor_czr wrote: Hi all, Here you are an example of the unix socket class used in simple-netaid for sending the arguments to the suid binary through a file descriptor instead of using arguments in the command line: