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

CFSocketCopyPeerAddress returns nil for connected UDP socket


  • Subject: CFSocketCopyPeerAddress returns nil for connected UDP socket
  • From: Andrew White <email@hidden>
  • Date: Wed, 12 Oct 2005 17:07:41 +1000


In my Udp socket class:

Scenario:

- 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"?


Thanks

--
Andrew White

--------------------------------------------------------------------------
This email and any attachments may be confidential. They may contain legally
privileged information or copyright material. You should not read, copy,
use or disclose them without authorisation. If you are not an intended
recipient, please contact us at once by return email and then delete both
messages. We do not accept liability in connection with computer virus,
data corruption, delay, interruption, unauthorised access or unauthorised
amendment. This notice should not be removed.
_______________________________________________
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


  • Follow-Ups:
    • Re: CFSocketCopyPeerAddress returns nil for connected UDP socket
      • From: Douglas Davidson <email@hidden>
    • Re: CFSocketCopyPeerAddress returns nil for connected UDP socket
      • From: Frederick Cheung <email@hidden>
  • Prev by Date: Re: awakeFromNib not called
  • Next by Date: accessing the CFSteam that NSURLConnection is using?
  • Previous by thread: Re: How to load from templates like in iWork using CoreData?
  • Next by thread: Re: CFSocketCopyPeerAddress returns nil for connected UDP socket
  • Index(es):
    • Date
    • Thread