discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trouble with NSSocketPort


From: Chris B. Vetter
Subject: Re: Trouble with NSSocketPort
Date: Thu, 23 Oct 2003 10:17:20 -0700

On Thu, 23 Oct 2003 17:50:59 +0100
Richard Frith-Macdonald <richard@brainstorm.co.uk> wrote:
> On Thursday, October 23, 2003, at 04:51 PM, Björn Giesler wrote:
[...]
> > 1. NSSocketPort -initWithPort: doesn't exist (which is very bad, but
> > that's another story).
> I guess -initWithPort: is a new McOS-X method and is missing for 
> historical reasons ... ie because the current NSSocketPort code was 
> written as an implementation of the OpenStep NSPort class which didn't
> include a lot of the newer MacOS-X API (and didn't work quite the same
> way).

No, this is IMHO a flaw on Apple's part. NSSocketPort (according to
Apple's spec) only supports TCP sockets.
> Probably an implementation of the MacOS-X method would be fairly 
> straightforward ... contribution welcome.

The method you're looking for is called -initWithTCPPort: -- it does
exist on GNUstep.

-- 
Chris




reply via email to

[Prev in Thread] Current Thread [Next in Thread]