I'm not at all sure that an arbitrary collection of 7 uppercase letters is any better.

It would only turn up 9 of the 33 posts the search term I gave turns up. And I'm not sure that 9 are relevant. The 33 definitely are. It's very unlikely that number would turn up in any other context.

And I'm not sure that it would do anything to help them. As that symbolic constant isn't available to them from Perl.

And I'm not sure it would help them work out the value they need either. Even if they have the relevant C header files, FIONBIO is defined there as:

#define FIONBIO _IOW('f', 126, u_long) /* set/clear non-blocking i +/o */

And the relevant parts of that are defined as:

#define _IOW(x,y,t) (IOC_IN|(((long)sizeof(t)&IOCPARM_MASK)<<16)|( +(x)<<8)|(y)) #define IOCPARM_MASK 0x7f #define IOC_IN 0x80000000 /* copy in parameters */

Now, I think I'm pretty offay with C and bit-twiddling, but I'm not sure that I could work out what the required number is from that lot.

And I'm not at all sure that I could recreate that math in Perl.

That's a lot of "not sures". I am sure that if I use the hex constant, it finds the posts. And works.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."

In reply to Re^3: Timeout Socket recv on UDP... on windows by BrowserUk
in thread Timeout Socket recv on UDP... on windows by shunyun

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.