• 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: Using NSSocketPort
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using NSSocketPort


  • Subject: Re: Using NSSocketPort
  • From: email@hidden
  • Date: Sun, 21 Apr 2002 20:32:28 -0700

On Sunday, April 21, 2002, at 06:30 PM, Mike Laster wrote:

On 4/21/02 8:13 PM, "Michael P. Rogers" <email@hidden> wrote:

At 20:26 -0400 20/4/02, Mike Laster wrote:
Does anyone have any sample code on how to use NSSocketPort?

Here's an example from cocoadevcentral, written by H. Lally Singh:

http://www.cocoadevcentral.com/tutorials/showpage.php?show=00000038.php

This isn't really what I'm wanting to do. I'm trying to make a server for
an existing network protocol, so therefore I can't use NSConnection. I just
trying to use NSSocketPort in order to accept connections within the run
loop.

use SmallSockets. NSSocketPort is a socket wrapper on NSPort, not a general BSD socket wrapper.

http://smallsockets.sourceforge.net/
_______________________________________________
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: Using NSSocketPort
      • From: Mike Laster <email@hidden>
References: 
 >Re: Using NSSocketPort (From: Mike Laster <email@hidden>)

  • Prev by Date: UI thread callbacks question
  • Next by Date: Re: table view cell vertically centered?
  • Previous by thread: Re: Using NSSocketPort
  • Next by thread: Re: Using NSSocketPort
  • Index(es):
    • Date
    • Thread