Re: Socket server not reacting to clients



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




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]