I’m writing a voice chat client for Discord and I’m trying to figure out how to asynchronously receive UDP messages using GSocket or GSocketClient (Though GSocketClient documentation says “It doesn’t make sense to specify a type of G_SOCKET_TYPE_DATAGRAM, as GSocketClient is used for connection oriented services.”).
Is there a method of asynchronously listening for UDP messages or should I just use another thread?