• 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: Network communication with NSFileHandle & NSSocketPort
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Network communication with NSFileHandle & NSSocketPort


  • Subject: Re: Network communication with NSFileHandle & NSSocketPort
  • From: Andrew Farmer <email@hidden>
  • Date: Wed, 19 Mar 2008 16:45:12 -0700

On 19 Mar 08, at 14:05, Jeff LaMarche wrote:
On Mar 19, 2008, at 5:01 PM, Hamish Allan wrote:
There's an article here describing its more general use, at least for
the server side:

http://macdevcenter.com/pub/a/mac/2006/11/14/how-to-write-a-cocoa-web-server.html

True, but he only uses NSSocketPort for the server, not for the client. I was unable to get it to work as a client also. It may be possible, but I wasn't able to get it working in the half hour or so that I played with it.

A few postings on the CocoaDev wiki suggest that the socket may be lazily initialized under current OS versions. Bottom line is that NSSocketPort is pretty clearly not intended to be used that way.
_______________________________________________


Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Network communication with NSFileHandle & NSSocketPort (From: "Valentin Dan" <email@hidden>)
 >Re: Network communication with NSFileHandle & NSSocketPort (From: Jeff LaMarche <email@hidden>)
 >Re: Network communication with NSFileHandle & NSSocketPort (From: "Sherm Pendley" <email@hidden>)
 >Re: Network communication with NSFileHandle & NSSocketPort (From: Jeff LaMarche <email@hidden>)
 >Re: Network communication with NSFileHandle & NSSocketPort (From: "Sherm Pendley" <email@hidden>)
 >Re: Network communication with NSFileHandle & NSSocketPort (From: Jeff LaMarche <email@hidden>)
 >Re: Network communication with NSFileHandle & NSSocketPort (From: "Sherm Pendley" <email@hidden>)
 >Re: Network communication with NSFileHandle & NSSocketPort (From: Jeff LaMarche <email@hidden>)
 >Re: Network communication with NSFileHandle & NSSocketPort (From: "Hamish Allan" <email@hidden>)
 >Re: Network communication with NSFileHandle & NSSocketPort (From: Jeff LaMarche <email@hidden>)

  • Prev by Date: Where's the buffer overrun?
  • Next by Date: Re: Where's the buffer overrun?
  • Previous by thread: Re: Network communication with NSFileHandle & NSSocketPort
  • Next by thread: Re: Network communication with NSFileHandle & NSSocketPort
  • Index(es):
    • Date
    • Thread