Add an event signal to GSocketListener

Desktop / GNOME / GLib - Paolo Borelli [gnome.org] - 4 April 2015 14:26 UTC

This allows the caller to know when a socket has been bound so that it can for instance set the SO_SENDBUF and SO_RECVBUF socket options before listen is called

https://bugzilla.gnome.org/show_bug.cgi?id=738207

b64e295 Add an event signal to GSocketListener
docs/reference/gio/gio-sections.txt | 1 +
gio/gioenums.h | 23 ++++++
gio/gsocketlistener.c | 138 +++++++++++++++++++++++++++++++----
gio/gsocketlistener.h | 5 +-
gio/tests/socket-listener.c | 65 +++++++++++++++++
5 files changed, 216 insertions(+), 16 deletions(-)

Upstream: git.gnome.org


  • Share