Re: [GNUnet-developers] The function of GNUNET_SCHEDULER_FdInfo->sock

2019-04-15 Thread Christian Grothoff
I'm not sure what exactly you do not understand here, but the "fdset_test_native" call is simply checking if the given file descriptor/socket ("int" on UNIX) is in the "fd_set" represented by the first argument. Usually/often we use the variants with the FileHandle, but sometimes we don't have the

[GNUnet-developers] The function of GNUNET_SCHEDULER_FdInfo->sock

2019-04-15 Thread LRN
What is it used for? I did grep the code, but some things are unclear. Specifically, this field is sometimes used with the calls that look like: GNUNET_NETWORK_fdset_test_native (ws, pos->fdi->sock)) Does that imply that the sock field is