• 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
How to communicate with NSSocketPort
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to communicate with NSSocketPort


  • Subject: How to communicate with NSSocketPort
  • From: Fei Li <email@hidden>
  • Date: Thu, 30 Aug 2001 14:28:00 -0600

Hello all,
Though I read documentation for NSConnection and NSSocketPort, I'm still not
clear how I can send data between two port.

If the procedure is:
On server side:
1. create two NSSocketPort
2. create connection with these two port
3. vend an server object(what object can be sever object?
4. ...( I don't know how to send data between two ports)

On client side:
1. gets a vended object by creating a proxy
2. set protocol for proxy (how to create this protocol?)
3. ...(I don't know how to transfer data)

Maybe what I write above is not correct. I wonder if anyone can descripe the
procedure or give me a small example.

Thank so much!

Fei


  • Follow-Ups:
    • Re: How to communicate with NSSocketPort
      • From: j o a r <email@hidden>
  • Prev by Date: Re: Making multiple windows from the same class
  • Next by Date: Re: tableSelectionDidChange
  • Previous by thread: NSScrollView confusion!!!!!!
  • Next by thread: Re: How to communicate with NSSocketPort
  • Index(es):
    • Date
    • Thread