• 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
Send TCP Data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Send TCP Data


  • Subject: Send TCP Data
  • From: David Blanton <email@hidden>
  • Date: Mon, 24 Mar 2003 10:55:37 -0700

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"];




The question is how do I send data?

I have not seen something like:

[myPort send:@"data"];

Thanks in advance!

David Blanton
"Cocoa FNG"
_______________________________________________
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.

  • Follow-Ups:
    • Re: Send TCP Data
      • From: MacInsight <email@hidden>
    • Re: Send TCP Data
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: 3 obj-c/cocoa beginner q's
  • Next by Date: application not quitting
  • Previous by thread: Re: 3 obj-c/cocoa beginner q's
  • Next by thread: Re: Send TCP Data
  • Index(es):
    • Date
    • Thread