• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: select is not working for me
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: select is not working for me


  • Subject: Re: select is not working for me
  • From: Ian Lister <email@hidden>
  • Date: Mon, 20 Oct 2003 07:10:03 +1000 (EST)

On Sun, 19 Oct 2003, Tomas Zahradnicky wrote:
> FD_SET(cookie->fSocket, &rdset);

> err = select(1, &rdset, NULL, NULL, &tv);

This should be:

err = select(cookie->fSocket + 1, &rdset, NULL, NULL, &tv);

Check the man page for select for details.

Ian
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: select is not working for me
      • From: Tomas Zahradnicky <email@hidden>
References: 
 >select is not working for me (From: Tomas Zahradnicky <email@hidden>)

  • Prev by Date: select is not working for me
  • Next by Date: Re: Obtaining proxy authentication info
  • Previous by thread: select is not working for me
  • Next by thread: Re: select is not working for me
  • Index(es):
    • Date
    • Thread