On Fri, Jan 10, 2020 at 03:41:09PM +0000, Daniel P. Berrangé wrote: > Windows sockets take a SOCKET HANDLE object instead of a > file descriptor. Wrap them in the same way that gnulib > does so that they use C runtime file descriptors. > > While we could in theory use GSocket, it is hard to get > the exact same semantics libvirt has for its current > socket usage. Wrapping the Winsock2 APIs is thus the > easiest approach in the short term. > > Signed-off-by: Daniel P. Berrangé <berrange@xxxxxxxxxx> > --- > src/util/Makefile.inc.am | 2 + > src/util/virsocket.c | 346 +++++++++++++++++++++++++++++++++++++++ > src/util/virsocket.h | 89 ++++++++++ > 3 files changed, 437 insertions(+) > create mode 100644 src/util/virsocket.c > create mode 100644 src/util/virsocket.h Reviewed-by: Pavel Hrdina <phrdina@xxxxxxxxxx>
Attachment:
signature.asc
Description: PGP signature
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list