• 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: CFSockets, sockets and timeouts (corrections)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CFSockets, sockets and timeouts (corrections)


  • Subject: Re: CFSockets, sockets and timeouts (corrections)
  • From: Nicolas Berloquin <email@hidden>
  • Date: Mon, 12 Apr 2004 14:47:54 +0200

Hi !

Actually, I am using fcntl to set O_NONBLOCK, then I set the timeout.
I thought I had to use both calls, but, if I understand you right, all I need is to set the
O_NONBLOCK flag, and I'll get the EWOULDBLOCK or the amount of data sent when I
call send() ?

thanks for your help ;-)
_______________________________________________
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.


References: 
 >Re: CFSockets, sockets and timeouts (From: Dario <email@hidden>)
 >Re: CFSockets, sockets and timeouts (From: Nicolas Berloquin <email@hidden>)

  • Prev by Date: TCP Spoofer
  • Next by Date: Re: AFP tuning
  • Previous by thread: Re: CFSockets, sockets and timeouts
  • Next by thread: TCP Spoofer
  • Index(es):
    • Date
    • Thread