Re: Cocoa Examples Using Sockets?
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.