Re: porting code that uses NSSocketPort

Richard Frith-Macdonald <[email protected]>
Newsgroups gmane.comp.lib.gnustep.user
Message-ID <95808157fee6ceb7ea23b7c82cedd882@blackbox>
On 2005-09-15 04:27:42 +0100 Morgan Giddings <[email protected]> wrote:

> Hi
> I have a command-line app I am trying to port from Mac OS X to  GNUStep.  
> It 
> makes extensive use of NSSocketPort.  I'm running into  troubles, because 
> it 
> appears that the class interface definition for  NSPort under GNUStep is 
> different than in Cocoa.

Yes ... it says in the documentation ... 'Note that this class is 
incompatible with the latest OS X version.'

That's because the GNUstep class is a lot older than the MacOS-X class, and 
implements the behavior of OpenStep/NeXTstep ports (which simulate the 
behavior of Mach ports).

You are probably better off using NSFileHandle.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.