mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 10:34:58 -06:00
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>
This commit is contained in:
parent
5705b536b5
commit
530473924d
3 changed files with 482 additions and 0 deletions
|
@ -8,4 +8,5 @@ io-obj-y += channel-watch.o
|
|||
io-obj-y += channel-websock.o
|
||||
io-obj-y += channel-util.o
|
||||
io-obj-y += dns-resolver.o
|
||||
io-obj-y += net-listener.o
|
||||
io-obj-y += task.o
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue