• 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: "parag vibhute" <email@hidden>
  • Date: Sat, 29 Dec 2007 12:03:07 +0530

But are you able to successfully shutdown the UDP socket on leopard?


On Dec 29, 2007 2:06 AM, Justin C. Walker <email@hidden> wrote:

On Dec 28, 2007, at 11:01 , Rob Newberry wrote:

>> 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...).
>
> You definitely still need to call "close(2)" on a descriptor after
> calling "shutdown(2)".

Thanks for clarifying.  I checked the source, and yes: shutdown
(assuming both directions) "closes" the connection but does not free
the descriptor as does close.

Justin

--
Justin C. Walker, Curmudgeon-At-Large
Institute for the Enhancement of the Director's Income
--------
Experience is what you get
  when you don't get what you want.
--------



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (

This email sent to email@hidden



--

There are many things in your life that will catch your eye but only a few will catch your heart....pursue those'.
 _______________________________________________
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: Josh Graessley <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>)
 >Re: Problem in leopard regarding socket shutdown (From: "Justin C. Walker" <email@hidden>)
 >Re: Problem in leopard regarding socket shutdown (From: Rob Newberry <email@hidden>)
 >Re: Problem in leopard regarding socket shutdown (From: "Justin C. Walker" <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