CFSocketCopyPeerAddress returns nil for connected UDP socket
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