I changed this line, from:
g_socket_listener_accept_async(ptSocketListener,NULL,NULL,NULL); // The
callback function was set to NULL
to:
g_socket_listener_accept_async(ptSocketListener,NULL,listener_accept_async_function,NULL);
// Now works as expected
JP
Hi,
I'm starting a socket server, but clients can't connect. The code
already worked before, but doesn't seem to work now.
What could be wrong? Here is my code below.
Thanks,
JP
void listener_accept_async_function(GObject *source_object,
GAsyncResult *res,