Bonjour NSNetService sharing with help of TXTrecord
Bonjour NSNetService sharing with help of TXTrecord
- Subject: Bonjour NSNetService sharing with help of TXTrecord
- From: Raphael <email@hidden>
- Date: Tue, 1 Nov 2005 16:46:41 +0100
Hi,
I have start a smal program to learn networking and thread safe
programming.
First I have wrote a application with one NSTableView upon a window
with two buttons.
In the NSTableView I put in the recovered services. The code is from
one of the examples
from the www. the services have a TXTRecord by my own has a key check
with a value 1 or 0.
When I press the left button a window will create and displays all
the services with 0 and behind the left button with 1.
The Problem I have is when a service recovered and I press a button
the application kills.
If I press when no services are recovered it works. the services how
will come later I have wrote a Notification, so that the other two
windows know their is a new service to check.
I have try to make 3 NSMutableArrays in the main window, and sort all
the services when they come in, but I canĀ“t send a effective reloadData
to the other Tables.
Has someone a idea? I mean it is a little bit like iChat, if you make
a group chat, you drag your services onto the group chat window, but
I would like to make this automatic with help of the txtrecord.
Thanks,
raphael
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden