Re: [Spice-devel] [PATCH spice-server v4 08/20] sys-socket: Add socket_newpair utility

2019-03-05 Thread Marc-André Lureau
Hi On Tue, Mar 5, 2019 at 3:07 PM Frediano Ziglio wrote: > > > Hi > > > > On Wed, Feb 6, 2019 at 2:59 PM Frediano Ziglio wrote: > > > > > > Allows to easier port socketpair. > > > Windows does not have this function, we need to create a pair > > > using 2 internet sockets and connecting one to

Re: [Spice-devel] [PATCH spice-server v4 08/20] sys-socket: Add socket_newpair utility

2019-03-05 Thread Frediano Ziglio
> Hi > > On Wed, Feb 6, 2019 at 2:59 PM Frediano Ziglio wrote: > > > > Allows to easier port socketpair. > > Windows does not have this function, we need to create a pair > > using 2 internet sockets and connecting one to the other. > > > > Signed-off-by: Frediano Ziglio > > --- > >

Re: [Spice-devel] [PATCH spice-server v4 08/20] sys-socket: Add socket_newpair utility

2019-03-04 Thread Marc-André Lureau
Hi On Wed, Feb 6, 2019 at 2:59 PM Frediano Ziglio wrote: > > Allows to easier port socketpair. > Windows does not have this function, we need to create a pair > using 2 internet sockets and connecting one to the other. > > Signed-off-by: Frediano Ziglio > --- > server/sys-socket.c | 75

[Spice-devel] [PATCH spice-server v4 08/20] sys-socket: Add socket_newpair utility

2019-02-06 Thread Frediano Ziglio
Allows to easier port socketpair. Windows does not have this function, we need to create a pair using 2 internet sockets and connecting one to the other. Signed-off-by: Frediano Ziglio --- server/sys-socket.c | 75 + server/sys-socket.h | 3 ++ 2