Re: Send TCP Data
Re: Send TCP Data
- Subject: Re: Send TCP Data
- From: Nick Zitzmann <email@hidden>
- Date: Tue, 25 Mar 2003 08:32:53 -0800
On Monday, March 24, 2003, at 09:55 AM, David Blanton wrote:
I want to send an HTTP GET to a know host.
To get a TCP port to send data is this correct:
NSSocketPort * myPort = [[NSSocketPort alloc]initRemoteWithTCPPort:80
host:@"knownHost.com"];
If I'm not mistaken, NSSocketPort is for DO and not general TCP/IP.
If you want to use ObjectiveC networking classes, then you need a third
party framework, such as SmallSockets or OmniNetworking. Or, if you
just need to do simple URL transactions, then you could use CURLHandle
or OWF.
Nick Zitzmann
AIM/iChat: dragonsdontsleep
Check out my software page:
http://dreamless.home.attbi.com/
Smile! It confuses people!
_______________________________________________
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.