io: introduce a network socket listener API
commit530473924d57fd26ba9779c8702574db4df829d3
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 19 Jul 2016 12:37:51 +0000 (19 13:37 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Fri, 15 Dec 2017 15:07:26 +0000 (15 15:07 +0000)
tree7f1f9abdc1e6f8d3a117c27e3315a167d4339e28
parent5705b536b597de00d82807bf14bb38f542aa4491
io: introduce a network socket listener API

The existing QIOChannelSocket class provides the ability to
listen on a single socket at a time. This patch introduces
a QIONetListener class that provides a higher level API
concept around listening for network services, allowing
for listening on multiple sockets.

Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
include/io/net-listener.h [new file with mode: 0644]
io/Makefile.objs
io/net-listener.c [new file with mode: 0644]