Accept incoming connections on a connection-based socket.
This removes the first outstanding connection request from the listening socket and creates a Socket object for it.
If there are no outstanding connections then the operation will block or return g_io_error_would_block if non-blocking I/O is enabled. To be notified of an incoming connection, wait for the g_io_in condition.
a gcancellable or null