NSConnection via NSSocketPort
NSConnection via NSSocketPort
- Subject: NSConnection via NSSocketPort
- From: John Anderson <email@hidden>
- Date: Fri, 14 Jun 2002 09:04:07 -0700
I've got a client server solution that uses NSSocketPort-based
NSConnections to connect clients and servers over TCP/IP. All is fine
and dandy except that sometimes, when I quit and restart my server
application quickly, I can't set aside a port. I get the following
error:
2002-06-14 08:59:12.094 PresenceServer[875] *** -[NSConcreteData
initWithProtocolFamily:socketType:protocol:address:]: selector not
recognized
2002-06-14 08:59:12.118 PresenceServer[875] *** Uncaught exception:
<NSInvalidArgumentException> *** -[NSConcreteData
initWithProtocolFamily:socketType:protocol:address:]: selector not
recognized
Is there something I should be doing on shutdown to close down the
connection properly? I thought that everything would get shut down
properly when the server tool gets the terminate message. But it
doesn't seem to free up the port.
Any insights?
-John Anderson
_______________________________________________
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.