GOptionContext *context;
GError *error = NULL;
- g_type_init ();
- g_thread_init (NULL);
-
context = g_option_context_new (" - Test GSocket server stuff");
g_option_context_add_main_entries (context, cmd_entries, NULL);
if (!g_option_context_parse (context, &argc, &argv, &error))
return 1;
}
- service = g_threaded_socket_service_new ();
+ service = g_threaded_socket_service_new (10);
if (!g_socket_listener_add_inet_port (G_SOCKET_LISTENER (service),
port,