GIO has various types to do with sockets (SocketClient, SocketConnection, InetSocketAddress, etc.). I am assuming that this allows reading of input on a socket (InputStream) can be handled by the Glib event loop thread (I assume somehow via Glib.MainContext.default_()). Has anyone got any examples of connecting GIO sockets into Glib event loop that avoids use of Timeout?
Using GIO sockets
Posted Sun, 26 Apr 2020 15:50:39 GMT