On 27 Nov 2009, at 06:48, Michael Ash wrote:
> There's no Cocoa version of this, as far as I know. However,
> CFSocketCopyPeerAddress is just a wrapper around the POSIX function
> getpeername(), so you can just get the native socket from your
> NSSocketPort and then call that.
Or just keep using C
On Fri, Nov 27, 2009 at 6:46 AM, René v Amerongen wrote:
> Hello,
>
> I' am busy to make an old app up to date and want to use 100% 10.6 cocoa.
> I have +75% percent done, but there is something what I can't figure out.
>
> Network calls are now using NSSocketPort, except a few that uses a fileHan
Hello,
I' am busy to make an old app up to date and want to use 100% 10.6 cocoa.
I have +75% percent done, but there is something what I can't figure out.
Network calls are now using NSSocketPort, except a few that uses a fileHandle
or fileDescriptor to get an IP address, like:
(NSFileHandle *)