site_archiver@lists.apple.com Delivered-To: macnetworkprog@lists.apple.com Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=mooseyard.com; h=subject :mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s= mooseyard.com; bh=vjktNmZA0ad10JkB0X8/Uu/g0Qs=; b=GD7Xs/9TIXu/hL PAR68vbRriQjIAYuDTunm4z53O9h9U6WFnQhm8kK7qbV1zXq1lQQihgLGpSs2dJ/ OuoGCKGLxt7KklaCuVfRfFJSNR/AaAFDxKyI5DNqjNOSzdCL2IpIoNT0Z2S5ez5a HUznH5GpANBXGCSfPpsidUQfc0UT0= Domainkey-signature: a=rsa-sha1; c=nofws; d=mooseyard.com; h=subject :mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; q=dns; s= mooseyard.com; b=XUvTIklsWv5TizGt8j8N2lfpdEAsREhGe8Hv4xhFUTtQRm5 YUAe02b/aKBfo/IsuQ5iu4A+fyU/oq7KrdeCnJFU9IwyAB46Ar6fkFw4xcRZRo// 1geg9Y+WIHdsHNbaQKCdddByWSWL5w8hcTcDT0c86oK6g8lIoX1oJImdkucQ= On Jun 9, 2010, at 9:50 PM, Fred McConnell wrote:
what advice is there for network programming in and through a Mac network? Tutorials, References, Code snippets, Books, etc.
It depends on how much you want to learn and what you want to accomplish. Maybe if you could describe your goals? Do you want to connect to Web services, other types of servers, make peer-to-peer connections, … ? At heart, the Mac OS network stack is standards-based. It uses the TCP/IP protocols and the BSD and POSIX networking APIs. Standard texts like Stevens’ “UNIX Network Programming” apply. On the other hand, those APIs are low-level and difficult to use, so there are various higher-level Mac-specific APIs available in the CFNetwork and Foundation libraries. I’m not aware of any books that specifically cover Mac networking APIs, but the documentation viewer in Xcode has information on them if you browse for it — look for CFStream and NSURLConnection, in particular. —Jens _______________________________________________ Do not post admin requests to the list. They will be ignored. Macnetworkprog mailing list (Macnetworkprog@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/macnetworkprog/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com