• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Send TCP Data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Send TCP Data


  • Subject: Re: Send TCP Data
  • From: David Blanton <email@hidden>
  • Date: Tue, 25 Mar 2003 13:33:53 -0700

On 3/25/03 12:28 PM, "MacInsight" <email@hidden> wrote:

> Hi,
>
> Am Montag, 24.03.03 um 18:55 Uhr schrieb David Blanton:
>
>> I want to send an HTTP GET to a know host.
>
> I do a POST request to a ServerApplet on a webserver, which in turn
> returns data.
>
> Therefor I'm using
>
> CFHTTPMessageRef
>
> and
>
> CFReadStreamRef
>
> to send and receive data with these calls:
>
> CFHTTPMessageCreateRequest()
> CFHTTPMessageSetHeaderFieldValue()
> CFHTTPMessageSetBody()
> CFReadStreamCreateForHTTPRequest()
> CFReadStreamOpen()
>
> Maybe you can go a similiar way, have a look at the docs and the
> example (both on your harddisk, with installed DevTools):
>
> <file:///Developer/Documentation/ReleaseNotes/CoreFoundation.html>
> <file:///Developer/Examples/Networking/GET Example/GET Example.pbproj>
>
> hth,
> Dirk Stegemann

>>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

Thank you Dirk and Nick. I will explore both options and let you know the
results. I am somewhat bothered that there is no Cocoa Class to do this.

David Blanton
"Cocoa FNG"

<PS who on the list can tell me what FNG means?>
_______________________________________________
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: 
 >Re: Send TCP Data (From: MacInsight <email@hidden>)

  • Prev by Date: NSOutlineView sample code? And philosophical help?
  • Next by Date: Re: Debugging screensavers
  • Previous by thread: Re: Send TCP Data
  • Next by thread: RE: Send TCP Data
  • Index(es):
    • Date
    • Thread