• 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: Problem in leopard regarding socket shutdown
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem in leopard regarding socket shutdown


  • Subject: Re: Problem in leopard regarding socket shutdown
  • From: "Justin C. Walker" <email@hidden>
  • Date: Thu, 27 Dec 2007 15:54:07 -0800


On Dec 27, 2007, at 07:54 , parag vibhute wrote:


In UDP connection at client side, I am not calling connect API so it may happen that shutdown failed as man page tells that shutdown fails if socket is not connected. But am I right? Also then in Tiger & Panther why am I not getting any error & only in Leopard, I am getting the error?


I have not looked at the source (which you can do yourself), I will guess that this change is due to the "Unix branding" effort that went into 10.5. A lot of changes were made so that Mac OS X will conform to whatever spec was used.

Also, I believe that 'shutdown' implies close (after shutdown, your descriptor is closed; there is a bit of ambiguity regarding the two sides of the connection, and when shutdown completes...).

Justin

--
Justin C. Walker, Curmudgeon-at-Large
() The ASCII Ribbon Campaign
/\ Help Cure HTML Email



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Problem in leopard regarding socket shutdown
      • From: Rob Newberry <email@hidden>
References: 
 >Problem in leopard regarding socket shutdown (From: parag vibhute <email@hidden>)
 >Re: Problem in leopard regarding socket shutdown (From: parag vibhute <email@hidden>)

  • Prev by Date: Re: Problem in leopard regarding socket shutdown
  • Next by Date: Re: Problem in leopard regarding socket shutdown
  • Previous by thread: Re: Problem in leopard regarding socket shutdown
  • Next by thread: Re: Problem in leopard regarding socket shutdown
  • Index(es):
    • Date
    • Thread