fast_code_r_us,
@fast_code_r_us@floss.social avatar

I tracked down one of the MacOS vs Linux socket error mysteries today. The select() function on Linux allows almost any value of the timeval structure, but not MacOS. If the fractional part is larger than 1 second it will reject it with error 22 (invalid argument). I'm used to using 1.5 seconds in the fractional part and 0 in the whole part.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • mdbf
  • osvaldo12
  • magazineikmin
  • tacticalgear
  • rosin
  • thenastyranch
  • Youngstown
  • InstantRegret
  • slotface
  • everett
  • kavyap
  • Durango
  • khanakhh
  • provamag3
  • ethstaker
  • cubers
  • tester
  • modclub
  • ngwrru68w68
  • GTA5RPClips
  • cisconetworking
  • megavids
  • anitta
  • normalnudes
  • Leos
  • JUstTest
  • lostlight
  • All magazines