It says "When the operation is finished callback will be called. You can then call g_socket_listener_accept_socket() to get the result of the operation.", but I think it should be g_socket_listener_accept_finish(), not g_socket_listener_accept_socket().