Re: Tcp/ip
Re: Tcp/ip
- Subject: Re: Tcp/ip
- From: Nick Zitzmann <email@hidden>
- Date: Thu, 28 Aug 2003 13:59:56 -0700
On Thursday, August 28, 2003, at 12:41 PM, John Erdner wrote:
Does anyone know of a good book (or online reference) for writing
Tcp/ip
socket communications to a non-standard protocol. Any sample code
would
be great..
I've used "The Pocket Guide to TCP/IP Sockets" by Michael J. Donahoo
and Kenneth L. Calvert (ISBN: 1-55860-686-6) quite frequently for work
with sockets.
Or if someone could point me towards the necessary class
files that would be helpful.
There aren't any classes in Cocoa that will directly do TCP/IP
communication, but you've got some options if you don't want to do
low-level socket programming...
1. Use CFSocket from CoreFoundation
2. Do the low-level socket setup, then pass the socket to an
NSFileHandle for reading and writing
3. Use one of these frameworks:
<
http://www.stepwise.com/Articles/Technical/2003-04-22.01.html>
Nick Zitzmann
AIM/iChat: dragonsdontsleep
Check out my software page:
http://seiryu.home.comcast.net/
"I have always wished that my computer would be as easy to use as my
telephone. My wish has come true. I no longer know how to use my
telephone." - Bjarne Stroustrup
_______________________________________________
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.
References: | |
| >Tcp/ip (From: "John Erdner" <email@hidden>) |