Re: How can I tell if a port is already being used?
Re: How can I tell if a port is already being used?
- Subject: Re: How can I tell if a port is already being used?
- From: Mike Blaguszewski <email@hidden>
- Date: Wed, 27 Dec 2006 15:26:35 -0500
On Dec 27, 2006, at 3:04 PM, Brian Stibi wrote:
Where can I find a meaningful representation of the UNIX-type errors.
`man 2 intro`, or look up "intro" in the Xcode doc window. Error 38
is listed as:
38 ENOTSOCK Socket operation on non-socket. Self-explanatory.
I would have expected EADDRINUSE, but maybe Apple's error propogation
is sub-optimal here. Have you checked that sockPort is non-nil and
sockFD isn't -1?
--
Mike Blaguszewski / Cocoa Hacker / Ambrosia Software, Inc.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden