URL:
<http://savannah.gnu.org/bugs/?40933>
Summary: Patch adds NSNetServiceListenForConnections option
to NSNetService
Project: GNUstep
Submitted by: znek
Submitted on: Tue 17 Dec 2013 01:29:03 AM GMT
Category: None
Severity: 3 - Normal
Item Group: Change Request
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
This patch adds the NSNetServiceListenForConnections option for -[NSNetService
publishWithOptions:], which significantly decreases the burden on the
programmer to enable a Bonjour service. The patch makes use of GSServerStream,
which leads to a pretty lean patch.
NOTE: you need to apply the patch from bug #40931 (Patch adds
MAC_OS_X_VERSION_10_9) in order to properly use this patch.
NOTE2: This functionality is only available to GSAvahiNetService (the
default). You might want to refactor this code to also work in
GSMDNSNetService.m, but I don't know it GSMDNSNetService does work at all,
still, so I didn't really bother.
Best Regards,
Marcus
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Tue 17 Dec 2013 01:29:03 AM GMT Name:
NSNetServices+NSNetServiceListenForConnections.patch Size: 5kB By: znek
<http://savannah.gnu.org/bugs/download.php?file_id=29984>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?40933>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-gnustep