Re: Problems with NSSocketPort
Re: Problems with NSSocketPort
- Subject: Re: Problems with NSSocketPort
- From: Douglas Davidson <email@hidden>
- Date: Tue, 11 Feb 2003 09:25:59 -0800
On Monday, February 10, 2003, at 09:00 PM, Ben Lachman wrote:
NSSocketPort *port = [[NSSocketPort alloc] initWithTCPPort:portNum];
NSConnection *conn = [[NSConnection alloc] initWithReceivePort:port
sendPort:nil];
...
The problem is that port is never non-NULL, which makes conn be NULL
as well.
This wouldn't be a low port number, would it? Port numbers < 1024 can
only be bound by root. Try a larger number.
Douglas Davidson
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.