On Thu, Feb 09, 2006 at 05:33:06PM -0800, Rev. Shamim Mohamed, D.D., LFHCfS, Ph.D. wrote: > On 2/9/06, Wendell Turner <[EMAIL PROTECTED]> wrote: > > Is there a way to detect a returning ICMP message on a select on > > a udp socket? > > My first guess is no. (In C, do you have to open a new socket to read > the ICMP replies or do they come back on the SOCK_DGRAM that the > datagrams were sent on?)
No, I think select returns with errno=ECONNREFUSED. > Another way to put it is "Use the Force -- Read the Source!" I tried, but it is in some whacky .ri language, which seems to be run through rtt/lexx/yacc to produce C. Can I at least put printfs into the .ri code to monitor what is going on? Is ri documented somewhere? > In any case, the select code in iconx really needs going over -- any > volunteers? Oops. Did I just volunteer? ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group