Re: Problems with NSConnection over NSSocketPort
Re: Problems with NSConnection over NSSocketPort
- Subject: Re: Problems with NSConnection over NSSocketPort
- From: Wade Tregaskis <email@hidden>
- Date: Sat, 6 Dec 2003 17:53:20 +1100
I've been using NSConnection over TCP/IP using NSSocketPort fairly
successfully, until now. I can make a connection and communicate fine,
but when I try to turn off the connection on the server end by doing:
[serverConnection registerName:nil];
[serverConnection release];
[rootObject release];
[serverConnection invalidate];
That should close any open ports for that connection, ending
communication. Unfortunately this won't notify the other end, which
will only realise there's a problem when it times out next time you try
to send a message.
Wade Tregaskis
-- Sed quis custodiet ipsos custodes?
_______________________________________________
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.