• 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: CFSocketCopyPeerAddress returns nil for connected UDP socket
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CFSocketCopyPeerAddress returns nil for connected UDP socket


  • Subject: Re: CFSocketCopyPeerAddress returns nil for connected UDP socket
  • From: Frederick Cheung <email@hidden>
  • Date: Wed, 12 Oct 2005 09:26:10 +0100

> - Connect a UDP socket destination address using CFSocketConnectAddress (...).
>
> - Call to CFSocketCopyPeerAddress () returns nil.
>
> Is this the correct behaviour.  It seems wrong, but the CFSocket
> documentation isn't detailed enough to say.
>
>
> Also, I asked in Feb and haven't got an answer:
> > What makes this "feature" harder to diagnose is that CFSocket doesn't
> > seem  to return any of this error information.  Am I missing a way to
> > get more informative error codes than "succeed" / "fail" / "timeout"?
>
>
I couldn't say off the top of my head, but what has been very useful
to me in the past for diagnosing trouble with CF in general is that
the source is available (here:
http://darwinsource.opendarwin.org/10.4.2/CF-368.11/RunLoop.subproj/CFSocket.c)

Fred
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >CFSocketCopyPeerAddress returns nil for connected UDP socket (From: Andrew White <email@hidden>)

  • Prev by Date: Re: Smart Folders and NSOpenPanel
  • Next by Date: Multiple NSSortDescriptors on NSTableColumn header click
  • Previous by thread: CFSocketCopyPeerAddress returns nil for connected UDP socket
  • Next by thread: Re: CFSocketCopyPeerAddress returns nil for connected UDP socket
  • Index(es):
    • Date
    • Thread