Re: [libvirt] [PATCH 02/10] Introduce a generic object for using network sockets

2011-03-18 Thread Daniel P. Berrange
On Tue, Mar 15, 2011 at 03:23:38PM -0600, Eric Blake wrote: On 03/15/2011 11:51 AM, Daniel P. Berrange wrote: +#ifndef WIN32 +static int virNetSocketForkDaemon(const char *binary) +{ +int ret; +virCommandPtr cmd = virCommandNewArgList(binary, +

[libvirt] [PATCH 02/10] Introduce a generic object for using network sockets

2011-03-15 Thread Daniel P. Berrange
Introduces a simple wrapper around the raw POSIX sockets APIs and name resolution APIs. Allows for easy creation of client and server sockets with correct usage of name resolution APIs for protocol agnostic socket setup. It can listen for UNIX and TCP stream sockets. It can connect to UNIX, TCP

Re: [libvirt] [PATCH 02/10] Introduce a generic object for using network sockets

2011-03-15 Thread Eric Blake
On 03/15/2011 11:51 AM, Daniel P. Berrange wrote: Introduces a simple wrapper around the raw POSIX sockets APIs and name resolution APIs. Allows for easy creation of client and server sockets with correct usage of name resolution APIs for protocol agnostic socket setup. It can listen for