On Sat, 24 Feb 2007 03:39:12 +0200 Виктор Кожухаров <[EMAIL PROTECTED]> babbled:
read_active gets set once select returns that there is data available to read from the fd (the output of the child process). it won't get set until that happens. maybe the child process that is dns lookuping hangs and never exits or returns anything? > I'm trying to use ecore_con_dns_lookup. At line 369, a fd handler is > added with a a callback _ecore_con_dns_data_handler. The problem is, > it's never called. A non null file descriptor is returned when adding > the handler. > The callback itself is never called, because read/write/error_active are > always '0', thus, an if that encapsulates the callback call is not > passed (line 410 in ecore_main.c). > I looked at how another user of that function manages to reach the call > (e_modules/weater is the said user). For it, the callback is actually > called, because read_active is somewhere set to -1. I've tried using the > dns function with the same server info as the module, but it still > doesn't work. > > Perhaps raster, on someone else who is more familiar with the innards of > ecore can say whether I'm not using the dns function correctly or if > there really is a bug. > -- > Виктор Кожухаров /Viktor Kojouharov/ > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) [EMAIL PROTECTED] 裸好多 Tokyo, Japan (東京 日本) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel