• 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: Cocoa Examples Using Sockets?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa Examples Using Sockets?


  • Subject: Re: Cocoa Examples Using Sockets?
  • From: René Puls <email@hidden>
  • Date: Tue, 11 Nov 2003 09:33:18 +0100

Am 11.11.2003 um 08:01 schrieb Reni Puls:
Once you've done this, using the class is easy:

IJSimpleSocket *mySocket = [[IJSimpleSocket alloc] initWithHostName:@"my.webserver.com"
andPort:80];
NSString *response = [mySocket getResponseFromSending:@"GET /"];

Sorry, this should have been:

NSString *response = [mySocket getResponseFromSending:@"GET /\r\n"];

Kind regards,
Rene Puls
_______________________________________________
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: 
 >Cocoa Examples Using Sockets? (From: <email@hidden>)
 >Re: Cocoa Examples Using Sockets? (From: René Puls <email@hidden>)

  • Prev by Date: Re: NSArrayController selection bug?
  • Next by Date: Cocoa Controller examples
  • Previous by thread: Re: Cocoa Examples Using Sockets?
  • Next by thread: NSArrayController selection bug?
  • Index(es):
    • Date
    • Thread